Files
mesa/subprojects/packagefiles/bitflags/meson.build
Gurchetan Singh 734dd83494 subprojects: add bitflags
Version 2.9.1 supported in:

    - Android
    - Fedora (https://src.fedoraproject.org/rpms/rust-bitflags)

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

22 lines
362 B
Meson

# Copyright © 2024 Google
# SPDX-License-Identifier: MIT
project(
'bitflags',
'rust',
version : '2.9.1',
license : 'MIT OR Apache-2.0',
)
lib = static_library(
'bitflags',
'src/lib.rs',
override_options : ['rust_std=2021', 'build.rust_std=2021'],
rust_abi : 'rust',
native : true,
)
dep_bitflags = declare_dependency(
link_with : [lib]
)