diff --git a/.cargo/config.toml b/.cargo/config.toml index 54cf4b4b..068615b9 100644 --- a/.cargo/config.toml +++ b/.cargo/config.toml @@ -5,7 +5,9 @@ [target.x86_64-unknown-linux-gnu] linker = "clang" -rustflags = ["-Clink-arg=-fuse-ld=lld", "-Zshare-generics=y"] +#rustflags = ["-Clink-arg=-fuse-ld=lld", "-Zshare-generics=y"] +rustflags = ["-Clink-arg=-fuse-ld=lld"] + # NOTE: you must manually install https://github.com/michaeleisel/zld on mac. you can easily do this with the "brew" package manager: # `brew install michaeleisel/zld/zld` @@ -17,7 +19,7 @@ rustflags = ["-Clink-arg=-fuse-ld=lld", "-Zshare-generics=y"] [target.x86_64-pc-windows-msvc] linker = "rust-lld.exe" -rustflags = ["-Zshare-generics=n"] +#rustflags = ["-Zshare-generics=n"] [target.wasm32-unknown-unknown] runner = "wasm-server-runner" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 0a4b4db9..50acba4b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -43,7 +43,7 @@ jobs: - name: 🦀 Setup Rust uses: actions-rs/toolchain@v1 with: - toolchain: nightly + toolchain: stable override: true profile: minimal target: ${{ matrix.config.target }} diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 271800cb..292fe499 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,2 +1,2 @@ [toolchain] -channel = "nightly" \ No newline at end of file +channel = "stable"