Source /.cargo/env
This commit is contained in:
2 files changed
+5
-1
No files matched your search
+4
-1
@@ -1,5 +1,5 @@
|
||||
[target.x86_64-pc-windows-msvc]
|
||||
rustflags = ["-C", "target-feature=+crt-static"]
|
||||
rustflags = ["-C", "target-feature=+crt-static", "--cfg", "tokio_unstable"]
|
||||
|
||||
# TODO not good as a default
|
||||
[target.armv7-unknown-linux-gnueabihf]
|
||||
@@ -10,3 +10,6 @@ linker = "aarch64-linux-gnu-gcc"
|
||||
|
||||
[target.i686-unknown-linux-gnu]
|
||||
linker = "i686-linux-gnu-gcc"
|
||||
|
||||
[build]
|
||||
rustflags = ["--cfg", "tokio_unstable"]
|
||||
@@ -136,6 +136,7 @@ jobs:
|
||||
- name: Install rustup
|
||||
run: |
|
||||
curl https://sh.rustup.rs -sSf | sh -s -- --no-modify-path --quiet -y
|
||||
source "$HOME/.cargo/env"
|
||||
rustup toolchain install nightly
|
||||
echo "${HOME}/.cargo/bin" >> "${GITHUB_PATH}"
|
||||
- name: Install ${{ matrix.arch }} Rust toolchain
|
||||
|
||||
Reference in new issue
Block a user