mirror of
https://gitee.com/openharmony/third_party_rust_bitflags
synced 2024-11-23 07:10:11 +00:00
Merge pull request #88 from GuillaumeGomez/rust-buildchain
Make it able to build in the rust buildchain
This commit is contained in:
commit
2d6b4468dc
@ -12,6 +12,11 @@
|
||||
|
||||
#![no_std]
|
||||
|
||||
// When compiled for the rustc compiler itself we want to make sure that this is
|
||||
// an unstable crate.
|
||||
#![cfg_attr(rustbuild, feature(staged_api))]
|
||||
#![cfg_attr(rustbuild, unstable(feature = "rustdoc", issue = "27812"))]
|
||||
|
||||
#[cfg(test)]
|
||||
#[macro_use]
|
||||
extern crate std;
|
||||
|
Loading…
Reference in New Issue
Block a user