Skip to content

Commit 7c3e45f

Browse files
committed
Update comments in build scripts
1 parent dea55a4 commit 7c3e45f

File tree

4 files changed

+36
-40
lines changed

4 files changed

+36
-40
lines changed

futures-channel/build.rs

+9-10
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
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+
2019
fn main() {
2120
let target = match env::var("TARGET") {
2221
Ok(target) => target,

futures-core/build.rs

+9-10
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
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+
2019
fn main() {
2120
let target = match env::var("TARGET") {
2221
Ok(target) => target,

futures-task/build.rs

+9-10
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
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+
2019
fn main() {
2120
let target = match env::var("TARGET") {
2221
Ok(target) => target,

futures-util/build.rs

+9-10
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,3 @@
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+
2019
fn main() {
2120
let target = match env::var("TARGET") {
2221
Ok(target) => target,

0 commit comments

Comments
 (0)