Skip to content

Commit d1b1947

Browse files
committed
Commit 3 : Move alloc_no_oom_handling
1 parent 98e7424 commit d1b1947

File tree

2 files changed

+18
-4
lines changed

2 files changed

+18
-4
lines changed

tests/run-make/alloc-no-oom-handling/Makefile

Lines changed: 0 additions & 4 deletions
This file was deleted.
Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
// ignore-tidy-linelength
2+
3+
extern crate run_make_support;
4+
5+
use run_make_support::rustc;
6+
7+
fn main() {
8+
rustc()
9+
.arg("--edition")
10+
.arg("2021")
11+
.arg("-Dwarnings")
12+
.arg("--crate-type")
13+
.arg("rlib")
14+
.arg("../../../library/alloc/src/lib.rs")
15+
.arg("--cfg")
16+
.arg("no_global_oom_handling")
17+
.run();
18+
}

0 commit comments

Comments
 (0)