Skip to content

Commit

Permalink
fix: downgrade rust toolchains version to 1.83
Browse files Browse the repository at this point in the history
Signed-off-by: zongz <[email protected]>
  • Loading branch information
zong-zhe committed Jan 21, 2025
1 parent ce2ccdc commit 50beb00
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-test-macos-arm64.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Install rust nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.84
toolchain: 1.83
override: true
components: clippy, rustfmt
- name: Set up python
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/macos_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Install rust nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.84
toolchain: 1.83
override: true
components: clippy, rustfmt
- name: Code format check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mingw_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install rust nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.84
toolchain: 1.83
override: true
components: clippy, rustfmt

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test_compiler_base.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install rust nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.84
toolchain: 1.83
override: true
components: clippy, rustfmt
- name: Rust code format check
Expand All @@ -43,7 +43,7 @@ jobs:
- name: Install rust nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.84
toolchain: 1.83
override: true
components: clippy, rustfmt
- name: Compiler_base rust unit test
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ubuntu_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Install rust nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.84
toolchain: 1.83
override: true
components: clippy, rustfmt
- name: Code format check
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/wasm_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,14 @@ jobs:
- name: Install rust nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.84
toolchain: 1.83
override: true
components: clippy, rustfmt

- name: Unit test
working-directory: ./kclvm
run: |
rustup target add wasm32-wasip1 && make build-wasm
rustup target add wasm32-wasi && make build-wasm
mv target/wasm32-wasi/release/kclvm_cli_cdylib.wasm target/wasm32-wasi/release/kcl.wasm
shell: bash

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Install rust nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.84
toolchain: 1.83
override: true
components: clippy, rustfmt

Expand Down
2 changes: 1 addition & 1 deletion kclvm/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ fix:
cargo clippy --fix --allow-dirty

build-wasm:
cargo build --target=wasm32-wasip1 --release
cargo build --target=wasm32-wasi --release

build-lsp:
cargo build --release --manifest-path tools/src/LSP/Cargo.toml
Expand Down

0 comments on commit 50beb00

Please sign in to comment.