This repository was archived by the owner on Apr 28, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -36,13 +36,15 @@ jobs:
36
36
- run : ./ci/run-docker.sh ${{ matrix.target }}
37
37
38
38
msrv :
39
- name : Build succeeds on MSRV
39
+ name : Check MSRV
40
40
runs-on : ubuntu-latest
41
41
steps :
42
42
- uses : actions/checkout@master
43
43
- run : echo "MSRV=$(perl -ne 'print if s/rust-version\s*=\s*"(.*)"/\1/g' Cargo.toml)" >> "$GITHUB_ENV"
44
44
- name : Install Rust
45
- run : rustup update "$MSRV" && rustup default "$MSRV"
45
+ run : |
46
+ echo MSRV: "$MSRV"
47
+ rustup update "$MSRV" && rustup default "$MSRV"
46
48
- run : cargo build -p libm
47
49
48
50
Original file line number Diff line number Diff line change @@ -2,10 +2,10 @@ use std::env;
2
2
3
3
fn main ( ) {
4
4
println ! ( "cargo:rerun-if-changed=build.rs" ) ;
5
- println ! ( "cargo:: rustc-check-cfg=cfg(assert_no_panic)" ) ;
6
- println ! ( "cargo:: rustc-check-cfg=cfg(feature, values(\" unstable\" ))" ) ;
5
+ println ! ( "cargo:rustc-check-cfg=cfg(assert_no_panic)" ) ;
6
+ println ! ( "cargo:rustc-check-cfg=cfg(feature, values(\" unstable\" ))" ) ;
7
7
8
- println ! ( "cargo:: rustc-check-cfg=cfg(feature, values(\" checked\" ))" ) ;
8
+ println ! ( "cargo:rustc-check-cfg=cfg(feature, values(\" checked\" ))" ) ;
9
9
10
10
#[ allow( unexpected_cfgs) ]
11
11
if !cfg ! ( feature = "checked" ) {
You can’t perform that action at this time.
0 commit comments