summaryrefslogtreecommitdiffstats
path: root/tests/run-make/alloc-no-oom-handling/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tests/run-make/alloc-no-oom-handling/Makefile')
-rw-r--r--tests/run-make/alloc-no-oom-handling/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/run-make/alloc-no-oom-handling/Makefile b/tests/run-make/alloc-no-oom-handling/Makefile
new file mode 100644
index 000000000..87f74c69c
--- /dev/null
+++ b/tests/run-make/alloc-no-oom-handling/Makefile
@@ -0,0 +1,4 @@
+include ../tools.mk
+
+all:
+ $(RUSTC) --edition=2021 -Dwarnings --crate-type=rlib ../../../library/alloc/src/lib.rs --cfg no_global_oom_handling