Skip to content

Commit

Permalink
ci: Update RUST_SRC_PATH to account for new std src layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Xanewok committed Sep 4, 2020
1 parent e669f6b commit db803ab
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ install:
- set PATH=%PATH%;C:\Users\appveyor\.cargo\bin
# the rust-src is needed for tests that depend on the standard library
- rustup component add rust-src
- set RUST_SRC_PATH=C:\Users\appveyor\.rustup\toolchains\%CHANNEL%-%TARGET%\lib\rustlib\src\rust\src
- set RUST_SRC_PATH=C:\Users\appveyor\.rustup\toolchains\%CHANNEL%-%TARGET%\lib\rustlib\src\rust\library
- rustc -Vv
- cargo -V

Expand Down
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ cache: cargo

before_script:
- rustup component add rust-src
- export RUST_SRC_PATH=`rustc --print sysroot`/lib/rustlib/src/rust/src
- export RUST_SRC_PATH=`rustc --print sysroot`/lib/rustlib/src/rust/library

script:
- cargo build --verbose --all
Expand Down

0 comments on commit db803ab

Please sign in to comment.