diff options
| author | Ralf Jung <post@ralfj.de> | 2024-09-14 13:44:02 +0200 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2024-10-21 15:22:17 +0100 |
| commit | 56ee492a6e7a917b2b3f888e33dd52a13d3ecb64 (patch) | |
| tree | 556522c0acb1a55afe973cc12a848f3729783f35 /library/alloc/tests | |
| parent | c3e928d8ddc73f5681778208f6c44cf958694e8b (diff) | |
| download | rust-56ee492a6e7a917b2b3f888e33dd52a13d3ecb64.tar.gz rust-56ee492a6e7a917b2b3f888e33dd52a13d3ecb64.zip | |
move strict provenance lints to new feature gate, remove old feature gates
Diffstat (limited to 'library/alloc/tests')
| -rw-r--r-- | library/alloc/tests/lib.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/library/alloc/tests/lib.rs b/library/alloc/tests/lib.rs index 301126b5d4d..699a8e6776e 100644 --- a/library/alloc/tests/lib.rs +++ b/library/alloc/tests/lib.rs @@ -32,7 +32,8 @@ #![feature(panic_update_hook)] #![feature(pointer_is_aligned_to)] #![feature(thin_box)] -#![feature(strict_provenance)] +#![cfg_attr(bootstrap, feature(strict_provenance))] +#![cfg_attr(not(bootstrap), feature(strict_provenance_lints))] #![feature(drain_keep_rest)] #![feature(local_waker)] #![feature(vec_pop_if)] |
