Source /.cargo/env

This commit is contained in:
QuantumEntangledAndy committed 2023-05-03 15:27:57 +07:00
1 parent 929dac374b
commit f60de36bae
2 files changed
+5 -1

No files matched your search

+4 -1
View File
@@ -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"]
+1
View File
@@ -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