File tree 4 files changed +36
-40
lines changed
4 files changed +36
-40
lines changed Original file line number Diff line number Diff line change 1
- #![ warn( rust_2018_idioms, single_use_lifetimes) ]
2
-
3
- use std:: env;
4
-
5
- include ! ( "no_atomic_cas.rs" ) ;
6
-
7
1
// The rustc-cfg listed below are considered public API, but it is *unstable*
8
2
// and outside of the normal semver guarantees:
9
3
//
@@ -13,10 +7,15 @@ include!("no_atomic_cas.rs");
13
7
// need to enable it manually when building for custom targets or using
14
8
// non-cargo build systems that don't run the build script.
15
9
//
16
- // With the exceptions mentioned above, the rustc-cfg strings below are
17
- // *not* public API. Please let us know by opening a GitHub issue if your build
18
- // environment requires some way to enable these cfgs other than by executing
19
- // our build script.
10
+ // With the exceptions mentioned above, the rustc-cfg emitted by the build
11
+ // script are *not* public API.
12
+
13
+ #![ warn( rust_2018_idioms, single_use_lifetimes) ]
14
+
15
+ use std:: env;
16
+
17
+ include ! ( "no_atomic_cas.rs" ) ;
18
+
20
19
fn main ( ) {
21
20
let target = match env:: var ( "TARGET" ) {
22
21
Ok ( target) => target,
Original file line number Diff line number Diff line change 1
- #![ warn( rust_2018_idioms, single_use_lifetimes) ]
2
-
3
- use std:: env;
4
-
5
- include ! ( "no_atomic_cas.rs" ) ;
6
-
7
1
// The rustc-cfg listed below are considered public API, but it is *unstable*
8
2
// and outside of the normal semver guarantees:
9
3
//
@@ -13,10 +7,15 @@ include!("no_atomic_cas.rs");
13
7
// need to enable it manually when building for custom targets or using
14
8
// non-cargo build systems that don't run the build script.
15
9
//
16
- // With the exceptions mentioned above, the rustc-cfg strings below are
17
- // *not* public API. Please let us know by opening a GitHub issue if your build
18
- // environment requires some way to enable these cfgs other than by executing
19
- // our build script.
10
+ // With the exceptions mentioned above, the rustc-cfg emitted by the build
11
+ // script are *not* public API.
12
+
13
+ #![ warn( rust_2018_idioms, single_use_lifetimes) ]
14
+
15
+ use std:: env;
16
+
17
+ include ! ( "no_atomic_cas.rs" ) ;
18
+
20
19
fn main ( ) {
21
20
let target = match env:: var ( "TARGET" ) {
22
21
Ok ( target) => target,
Original file line number Diff line number Diff line change 1
- #![ warn( rust_2018_idioms, single_use_lifetimes) ]
2
-
3
- use std:: env;
4
-
5
- include ! ( "no_atomic_cas.rs" ) ;
6
-
7
1
// The rustc-cfg listed below are considered public API, but it is *unstable*
8
2
// and outside of the normal semver guarantees:
9
3
//
@@ -13,10 +7,15 @@ include!("no_atomic_cas.rs");
13
7
// need to enable it manually when building for custom targets or using
14
8
// non-cargo build systems that don't run the build script.
15
9
//
16
- // With the exceptions mentioned above, the rustc-cfg strings below are
17
- // *not* public API. Please let us know by opening a GitHub issue if your build
18
- // environment requires some way to enable these cfgs other than by executing
19
- // our build script.
10
+ // With the exceptions mentioned above, the rustc-cfg emitted by the build
11
+ // script are *not* public API.
12
+
13
+ #![ warn( rust_2018_idioms, single_use_lifetimes) ]
14
+
15
+ use std:: env;
16
+
17
+ include ! ( "no_atomic_cas.rs" ) ;
18
+
20
19
fn main ( ) {
21
20
let target = match env:: var ( "TARGET" ) {
22
21
Ok ( target) => target,
Original file line number Diff line number Diff line change 1
- #![ warn( rust_2018_idioms, single_use_lifetimes) ]
2
-
3
- use std:: env;
4
-
5
- include ! ( "no_atomic_cas.rs" ) ;
6
-
7
1
// The rustc-cfg listed below are considered public API, but it is *unstable*
8
2
// and outside of the normal semver guarantees:
9
3
//
@@ -13,10 +7,15 @@ include!("no_atomic_cas.rs");
13
7
// need to enable it manually when building for custom targets or using
14
8
// non-cargo build systems that don't run the build script.
15
9
//
16
- // With the exceptions mentioned above, the rustc-cfg strings below are
17
- // *not* public API. Please let us know by opening a GitHub issue if your build
18
- // environment requires some way to enable these cfgs other than by executing
19
- // our build script.
10
+ // With the exceptions mentioned above, the rustc-cfg emitted by the build
11
+ // script are *not* public API.
12
+
13
+ #![ warn( rust_2018_idioms, single_use_lifetimes) ]
14
+
15
+ use std:: env;
16
+
17
+ include ! ( "no_atomic_cas.rs" ) ;
18
+
20
19
fn main ( ) {
21
20
let target = match env:: var ( "TARGET" ) {
22
21
Ok ( target) => target,
You can’t perform that action at this time.
0 commit comments