Adjust the std library for sanitizer_cfi cfgs changes
This commit is contained in:
parent
cc6cbaad4b
commit
c88b021782
@ -265,6 +265,7 @@
|
||||
//
|
||||
// Language features:
|
||||
// tidy-alphabetical-start
|
||||
#![cfg_attr(not(bootstrap), feature(cfg_sanitizer_cfi))]
|
||||
#![feature(alloc_error_handler)]
|
||||
#![feature(allocator_internals)]
|
||||
#![feature(allow_internal_unsafe)]
|
||||
|
@ -11,7 +11,7 @@
|
||||
// Note, however, that we run on lots older linuxes, as well as cross
|
||||
// compiling from a newer linux to an older linux, so we also have a
|
||||
// fallback implementation to use as well.
|
||||
#[allow(unexpected_cfgs)]
|
||||
#[cfg_attr(bootstrap, allow(unexpected_cfgs))]
|
||||
#[cfg(any(
|
||||
target_os = "linux",
|
||||
target_os = "android",
|
||||
|
Loading…
x
Reference in New Issue
Block a user