Skip to content

Commit

Permalink
chore: bump rust version to 1.79 (#1513)
Browse files Browse the repository at this point in the history
Signed-off-by: peefy <xpf6677@163.com>
  • Loading branch information
Peefy committed Jul 20, 2024
1 parent 3a583ca commit c8a67ea
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 24 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 @@ -34,7 +34,7 @@ jobs:
- name: Install rust nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.76
toolchain: 1.79
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 @@ -41,7 +41,7 @@ jobs:
- name: Install rust nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.76
toolchain: 1.79
override: true
components: clippy, rustfmt
- name: Code format check
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.76
toolchain: 1.79
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.76
toolchain: 1.79
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 @@ -28,7 +28,7 @@ jobs:
- name: Install rust nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.76
toolchain: 1.79
override: true
components: clippy, rustfmt
- name: Code format check
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/wasm_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- name: Install rust nightly toolchain
uses: actions-rs/toolchain@v1
with:
toolchain: 1.76
toolchain: 1.79
override: true
components: clippy, rustfmt

Expand Down
6 changes: 3 additions & 3 deletions docs/dev_guide/2.quick_start.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Using a docker image is our recommended way, of course, you can also configure y
#### macOS and OS X

- `git`
- `Rust 1.76+`
- `Rust 1.79+`
- `LLVM 12` (Optional, only for the LLVM backend and release)
- `Python 3.7+` (Optional, only for integration tests)

Expand All @@ -63,7 +63,7 @@ export PATH=<your LLVM 12 install location>/bin:$PATH
#### Linux

- `git`
- `Rust 1.76+`
- `Rust 1.79+`
- `LLVM 12` (Optional, only for the LLVM backend and release)
- `Python3 Building Dependencies` (Optional, only for integration tests)

Expand Down Expand Up @@ -106,7 +106,7 @@ ln -sf /usr/bin/wasm-ld-12 /usr/bin/wasm-ld
#### Windows

- `git`
- `Rust 1.76+`
- `Rust 1.79+`
- `LLVM 12` (Optional, only for the LLVM backend and release)
- `Python 3.7+` (Only for integration tests)

Expand Down
8 changes: 0 additions & 8 deletions kclvm/evaluator/src/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -365,14 +365,6 @@ impl SchemaEvalContext {
}
}

#[derive(Clone, Default, Debug)]
pub struct ConfigMeta {
pub filename: String,
pub line: u64,
pub column: u64,
pub item_meta: IndexMap<String, ConfigMeta>,
}

#[derive(Clone)]
pub struct SchemaCaller {
pub ctx: SchemaEvalContextRef,
Expand Down
7 changes: 0 additions & 7 deletions kclvm/evaluator/src/scope.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,6 @@ use kclvm_sema::{builtin, plugin};

use crate::{Evaluator, GLOBAL_LEVEL, INNER_LEVEL};

/// The evaluator scope.
#[derive(Debug, Default)]
pub struct SchemaSelf {
pub value: ValueRef,
pub config: ValueRef,
}

/// The evaluator scope.
#[derive(Debug, Default)]
pub struct Scope {
Expand Down

0 comments on commit c8a67ea

Please sign in to comment.