mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-26 08:44:35 +00:00
Rollup merge of #110652 - ojeda:core-no_global_oom_handling-test, r=Mark-Simulacrum
Add test for warning-free builds of `core` under `no_global_oom_handling` `tests/run-make/alloc-no-oom-handling` tests that `alloc` under `no_global_oom_handling` builds and is warning-free. Do the same for `core` to prevent issues such as [1]. Link: https://github.com/rust-lang/rust/pull/110649 [1]
This commit is contained in:
commit
e4daa810ff
6
tests/run-make/core-no-oom-handling/Makefile
Normal file
6
tests/run-make/core-no-oom-handling/Makefile
Normal file
@ -0,0 +1,6 @@
|
||||
include ../tools.mk
|
||||
|
||||
FAKEROOT=$(TMPDIR)/fakeroot
|
||||
|
||||
all:
|
||||
$(RUSTC) --edition=2021 -Dwarnings --crate-type=rlib ../../../library/core/src/lib.rs --sysroot=$(FAKEROOT) --cfg no_global_oom_handling
|
Loading…
Reference in New Issue
Block a user