diff options
| author | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-08-06 14:35:59 +0200 |
|---|---|---|
| committer | Guillaume Gomez <guillaume1.gomez@gmail.com> | 2024-08-12 15:17:57 +0200 |
| commit | dd76ad45b381680f26d327a42fa4cb1d1ccf6842 (patch) | |
| tree | 5813acfaf96830e5201d6fc47953a4fca0e89241 | |
| parent | 8bd9b48e7ecc308ff680414049972180476dca78 (diff) | |
| download | rust-dd76ad45b381680f26d327a42fa4cb1d1ccf6842.tar.gz rust-dd76ad45b381680f26d327a42fa4cb1d1ccf6842.zip | |
Fix libcore patch
| -rw-r--r-- | patches/0022-core-Disable-not-compiling-tests.patch | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/patches/0022-core-Disable-not-compiling-tests.patch b/patches/0022-core-Disable-not-compiling-tests.patch index ea1a5a8d355..08e2f1a7628 100644 --- a/patches/0022-core-Disable-not-compiling-tests.patch +++ b/patches/0022-core-Disable-not-compiling-tests.patch @@ -35,8 +35,9 @@ diff --git a/library/core/tests/lib.rs b/library/core/tests/lib.rs index 42a26ae..5ac1042 100644 --- a/library/core/tests/lib.rs +++ b/library/core/tests/lib.rs -@@ -1,3 +1,4 @@ +@@ -2,4 +2,5 @@ + // tidy-alphabetical-start +#![cfg(test)] - #![feature(alloc_layout_extra)] - #![feature(array_chunks)] - #![feature(array_ptr_get)] + #![cfg_attr(bootstrap, feature(offset_of_nested))] + #![cfg_attr(target_has_atomic = "128", feature(integer_atomics))] + #![cfg_attr(test, feature(cfg_match))] |
