mesa/subprojects/packagefiles/cfg-if/meson.build
Gurchetan Singh f20d43d654 subprojects: add cfg-if
Version 1.0.0 supported in:

    - AOSP
    - Fedora
      (https://bodhi.fedoraproject.org/updates/?packages=rust-cfg-if)
    - Debian (https://tracker.debian.org/pkg/rust-cfg-if)

Acked-by: Aaron Ruby <aruby@qnx.com>
Reviewed-by: @LingMan
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35210>
2025-06-17 22:28:54 +00:00

21 lines
356 B
Meson

# Copyright © 2024 Google
# SPDX-License-Identifier: MIT
project(
'cfg-if',
'rust',
version : '1.0.0',
license : 'MIT OR Apache-2.0',
)
lib = static_library(
'cfg_if',
'src/lib.rs',
override_options : ['rust_std=2018', 'build.rust_std=2018'],
rust_abi : 'rust',
native : true,
)
dep_cfg_if = declare_dependency(
link_with : [lib]
)