File tree Expand file tree Collapse file tree 4 files changed +36
-40
lines changed Expand file tree Collapse file tree 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-
71// The rustc-cfg listed below are considered public API, but it is *unstable*
82// and outside of the normal semver guarantees:
93//
@@ -13,10 +7,15 @@ include!("no_atomic_cas.rs");
137// need to enable it manually when building for custom targets or using
148// non-cargo build systems that don't run the build script.
159//
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+
2019fn main ( ) {
2120 let target = match env:: var ( "TARGET" ) {
2221 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-
71// The rustc-cfg listed below are considered public API, but it is *unstable*
82// and outside of the normal semver guarantees:
93//
@@ -13,10 +7,15 @@ include!("no_atomic_cas.rs");
137// need to enable it manually when building for custom targets or using
148// non-cargo build systems that don't run the build script.
159//
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+
2019fn main ( ) {
2120 let target = match env:: var ( "TARGET" ) {
2221 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-
71// The rustc-cfg listed below are considered public API, but it is *unstable*
82// and outside of the normal semver guarantees:
93//
@@ -13,10 +7,15 @@ include!("no_atomic_cas.rs");
137// need to enable it manually when building for custom targets or using
148// non-cargo build systems that don't run the build script.
159//
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+
2019fn main ( ) {
2120 let target = match env:: var ( "TARGET" ) {
2221 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-
71// The rustc-cfg listed below are considered public API, but it is *unstable*
82// and outside of the normal semver guarantees:
93//
@@ -13,10 +7,15 @@ include!("no_atomic_cas.rs");
137// need to enable it manually when building for custom targets or using
148// non-cargo build systems that don't run the build script.
159//
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+
2019fn main ( ) {
2120 let target = match env:: var ( "TARGET" ) {
2221 Ok ( target) => target,
You can’t perform that action at this time.
0 commit comments