File tree 7 files changed +42
-22
lines changed
7 files changed +42
-22
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ // This test checks that alloc can still compile correctly when the unstable no_global_oom_handling feature is turned on.
2
+ // See https://github.com/rust-lang/rust/pull/84266
3
+
4
+ use run_make_support:: rustc;
5
+
6
+ fn main ( ) {
7
+ rustc ( )
8
+ . edition ( "2021" )
9
+ . arg ( "-Dwarnings" )
10
+ . crate_type ( "rlib" )
11
+ . input ( "../../../library/alloc/src/lib.rs" )
12
+ . cfg ( "no_global_oom_handling" )
13
+ . run ( ) ;
14
+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ // This test checks that alloc can still compile correctly when the unstable no_rc feature is turned on.
2
+ // See https://github.com/rust-lang/rust/pull/84266
3
+
4
+ use run_make_support:: rustc;
5
+
6
+ fn main ( ) {
7
+ rustc ( )
8
+ . edition ( "2021" )
9
+ . arg ( "-Dwarnings" )
10
+ . crate_type ( "rlib" )
11
+ . input ( "../../../library/alloc/src/lib.rs" )
12
+ . cfg ( "no_rc" )
13
+ . run ( ) ;
14
+ }
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ // This test checks that alloc can still compile correctly when the unstable no_sync feature is turned on.
2
+ // See https://github.com/rust-lang/rust/pull/84266
3
+
4
+ use run_make_support:: rustc;
5
+
6
+ fn main ( ) {
7
+ rustc ( )
8
+ . edition ( "2021" )
9
+ . arg ( "-Dwarnings" )
10
+ . crate_type ( "rlib" )
11
+ . input ( "../../../library/alloc/src/lib.rs" )
12
+ . cfg ( "no_sync" )
13
+ . run ( ) ;
14
+ }
Original file line number Diff line number Diff line change 2
2
// support for formatting and parsing floating-point numbers.
3
3
4
4
use run_make_support:: rustc;
5
- use std:: path:: PathBuf ;
6
5
7
6
fn main ( ) {
8
7
rustc ( )
You can’t perform that action at this time.
0 commit comments