diff options
| author | Ralf Jung <post@ralfj.de> | 2022-08-03 22:48:12 -0400 |
|---|---|---|
| committer | Ralf Jung <post@ralfj.de> | 2022-08-18 18:07:39 -0400 |
| commit | ac66baad1a9787f60ff86fac125da8176e053dbc (patch) | |
| tree | 8acc89a699c4762433350a0d21867dd9d1840bda /library/alloc/src | |
| parent | 8064a495086c2e63c0ef77e8e82fe3b9b5dc535f (diff) | |
| download | rust-ac66baad1a9787f60ff86fac125da8176e053dbc.tar.gz rust-ac66baad1a9787f60ff86fac125da8176e053dbc.zip | |
add miri-test-libstd support to libstd
Diffstat (limited to 'library/alloc/src')
| -rw-r--r-- | library/alloc/src/lib.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/library/alloc/src/lib.rs b/library/alloc/src/lib.rs index 8b6f4054851..a6f3593addc 100644 --- a/library/alloc/src/lib.rs +++ b/library/alloc/src/lib.rs @@ -60,6 +60,7 @@ // able to "empty" this crate. See <https://github.com/rust-lang/miri-test-libstd/issues/4>. // rustc itself never sets the feature, so this line has no affect there. #![cfg(any(not(feature = "miri-test-libstd"), test, doctest))] +// #![allow(unused_attributes)] #![stable(feature = "alloc", since = "1.36.0")] #