File tree 4 files changed +30
-24
lines changed
4 files changed +30
-24
lines changed Original file line number Diff line number Diff line change @@ -136,26 +136,25 @@ jobs:
136
136
parameters :
137
137
deploy_dir : target/doc
138
138
139
- # FIXME: re-enable these after the next release
140
- # - job: SemverLinux
141
- # dependsOn: BuildChannelsLinux
142
- # continueOnError: true
143
- # pool:
144
- # vmImage: ubuntu-18.04
145
- # steps:
146
- # - template: azure-install-rust.yml
147
- # - script: sh ci/semver.sh linux
148
- # displayName: Check breaking changes
139
+ - job : SemverLinux
140
+ dependsOn : BuildChannelsLinux
141
+ continueOnError : true
142
+ pool :
143
+ vmImage : ubuntu-18.04
144
+ steps :
145
+ - template : azure-install-rust.yml
146
+ - script : sh ci/semver.sh linux
147
+ displayName : Check breaking changes
149
148
150
- # - job: SemverOSX
151
- # dependsOn: BuildChannelsOSX
152
- # continueOnError: true
153
- # pool:
154
- # vmImage: macos-10.15
155
- # steps:
156
- # - template: azure-install-rust.yml
157
- # - script: sh ci/semver.sh osx
158
- # displayName: Check breaking changes
149
+ - job : SemverOSX
150
+ dependsOn : BuildChannelsOSX
151
+ continueOnError : true
152
+ pool :
153
+ vmImage : macos-10.15
154
+ steps :
155
+ - template : azure-install-rust.yml
156
+ - script : sh ci/semver.sh osx
157
+ displayName : Check breaking changes
159
158
160
159
- job : BuildChannelsLinux
161
160
dependsOn : StyleAndDocs
Original file line number Diff line number Diff line change @@ -13,7 +13,10 @@ if ! rustc --version | grep -E "nightly" ; then
13
13
exit 1
14
14
fi
15
15
16
- cargo +nightly install semverver
16
+ rustup component add rustc-dev
17
+
18
+ # FIXME: Use upstream once it gets rustup.
19
+ cargo +nightly install semververfork
17
20
18
21
TARGETS=
19
22
case " ${OS} " in
@@ -73,5 +76,6 @@ for TARGET in $TARGETS; do
73
76
sleep 1
74
77
done
75
78
76
- cargo +nightly semver --api-guidelines --target=" ${TARGET} "
79
+ # FIXME: Use upstream once it gets rustup.
80
+ cargo +nightly semverfork --api-guidelines --target=" ${TARGET} "
77
81
done
Original file line number Diff line number Diff line change 5
5
rustc ci/style.rs && ./style src
6
6
7
7
if rustup component add rustfmt-preview ; then
8
- which rustfmt
8
+ command -v rustfmt
9
9
rustfmt -V
10
10
cargo fmt --all -- --check
11
11
fi
Original file line number Diff line number Diff line change 14
14
//! [pd]: https://rust-lang.github.io/libc/#platform-specific-documentation
15
15
#![ crate_name = "libc" ]
16
16
#![ crate_type = "rlib" ]
17
- #![ cfg_attr( libc_deny_warnings, deny( warnings) ) ]
17
+ // FIXME: Remove this and redundant_semicolon once renamed lint reaches stable.
18
+ #![ allow( renamed_and_removed_lints) ]
18
19
#![ allow(
19
20
bad_style,
20
21
overflowing_literals,
21
22
improper_ctypes,
22
23
unknown_lints,
23
- redundant_semicolon
24
+ redundant_semicolon,
25
+ redundant_semicolons
24
26
) ]
27
+ #![ cfg_attr( libc_deny_warnings, deny( warnings) ) ]
25
28
// Attributes needed when building as part of the standard library
26
29
#![ cfg_attr(
27
30
feature = "rustc-dep-of-std" ,
You can’t perform that action at this time.
0 commit comments