diff --git a/compiler_base/3rdparty/rustc_data_structures/Cargo.toml b/compiler_base/3rdparty/rustc_data_structures/Cargo.toml index 67a7a24d9..486bd842b 100644 --- a/compiler_base/3rdparty/rustc_data_structures/Cargo.toml +++ b/compiler_base/3rdparty/rustc_data_structures/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustc_data_structures" -version = "0.1.1" +version = "0.1.2" edition = "2021" authors = ["zongzhe1024@163.com"] license = "Apache-2.0 OR MIT" @@ -34,7 +34,7 @@ tempfile = "3.5.0" version = "0.12" [target.'cfg(windows)'.dependencies] -winapi = { version = "0.3", features = ["fileapi", "psapi", "winerror"] } +winapi = { version = "0.3", features = ["std", "fileapi", "psapi", "winerror"] } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] memmap2 = "0.2.1" diff --git a/compiler_base/3rdparty/rustc_data_structures/src/lib.rs b/compiler_base/3rdparty/rustc_data_structures/src/lib.rs index 55b6a0d0a..1377b0430 100644 --- a/compiler_base/3rdparty/rustc_data_structures/src/lib.rs +++ b/compiler_base/3rdparty/rustc_data_structures/src/lib.rs @@ -8,7 +8,6 @@ #![doc(html_root_url = "https://doc.rust-lang.org/nightly/nightly-rustc/")] #![allow(rustc::default_hash_types)] -#![deny(unaligned_references)] #![allow(rustc::potential_query_instability)] extern crate tracing; diff --git a/compiler_base/3rdparty/rustc_data_structures/src/temp_dir.rs b/compiler_base/3rdparty/rustc_data_structures/src/temp_dir.rs index 5eb33d648..81a17cfa6 100644 --- a/compiler_base/3rdparty/rustc_data_structures/src/temp_dir.rs +++ b/compiler_base/3rdparty/rustc_data_structures/src/temp_dir.rs @@ -16,7 +16,7 @@ impl Drop for MaybeTempDir { // occur. let dir = unsafe { ManuallyDrop::take(&mut self.dir) }; if self.keep { - dir.into_path(); + let _ = dir.into_path(); } } } diff --git a/compiler_base/3rdparty/rustc_span/Cargo.toml b/compiler_base/3rdparty/rustc_span/Cargo.toml index 31e37827e..e7aabaad8 100644 --- a/compiler_base/3rdparty/rustc_span/Cargo.toml +++ b/compiler_base/3rdparty/rustc_span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "rustc_span" -version = "0.1.1" +version = "0.1.2" edition = "2021" authors = ["zongzhe1024@163.com"] license = "Apache-2.0 OR MIT" @@ -15,7 +15,7 @@ categories = ["command-line-utilities"] doctest = false [dependencies] -rustc_data_structures = "0.1.1" +rustc_data_structures = "0.1.2" scoped-tls = "1.0" unicode-width = "0.1.4" cfg-if = "0.1.2" diff --git a/compiler_base/error/Cargo.toml b/compiler_base/error/Cargo.toml index 861713344..b5d6ab966 100644 --- a/compiler_base/error/Cargo.toml +++ b/compiler_base/error/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "compiler_base_error" -version = "0.1.5" +version = "0.1.6" edition = "2021" authors = ["zongzhe1024@163.com"] license = "Apache-2.0 OR MIT" @@ -14,10 +14,10 @@ categories = ["command-line-utilities"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -compiler_base_span = "0.1.2" +compiler_base_span = "0.1.3" compiler_base_macros = "0.1.1" pretty_assertions = "1.3.0" -rustc_span = "0.1.1" +rustc_span = "0.1.2" rustc_errors = "0.1.2" unic-langid = {version="0.9.0", features = ["macros"]} diff --git a/compiler_base/session/Cargo.toml b/compiler_base/session/Cargo.toml index 0923fbc54..5d74754ee 100644 --- a/compiler_base/session/Cargo.toml +++ b/compiler_base/session/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "compiler_base_session" -version = "0.1.2" +version = "0.1.3" edition = "2021" authors = ["zongzhe1024@163.com"] license = "Apache-2.0 OR MIT" @@ -15,5 +15,5 @@ categories = ["command-line-utilities"] [dependencies] compiler_base_span = "0.1.2" -compiler_base_error = "0.1.5" +compiler_base_error = "0.1.6" anyhow = "1.0" diff --git a/compiler_base/span/Cargo.toml b/compiler_base/span/Cargo.toml index 64812fd7a..d4bff210c 100644 --- a/compiler_base/span/Cargo.toml +++ b/compiler_base/span/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "compiler_base_span" -version = "0.1.2" +version = "0.1.3" edition = "2021" authors = ["zongzhe1024@163.com"] license = "Apache-2.0 OR MIT" @@ -14,4 +14,4 @@ categories = ["command-line-utilities"] # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] -rustc_span = "0.1.1" +rustc_span = "0.1.2" diff --git a/kclvm/Cargo.lock b/kclvm/Cargo.lock index e7ce8edc9..0535ea1dc 100644 --- a/kclvm/Cargo.lock +++ b/kclvm/Cargo.lock @@ -449,9 +449,9 @@ checksum = "acbf1af155f9b9ef647e42cdc158db4b64a1b61f743629225fde6f3e0be2a7c7" [[package]] name = "compiler_base_error" -version = "0.1.5" +version = "0.1.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7cf99f1bfacfe17a038c94694849eceace20556c5fdbe0348cab8aa94ec0b810" +checksum = "32e6a143200e9657a565b093fde64a590af93884d1f820829db6461de1ff0086" dependencies = [ "anyhow", "compiler_base_macros", @@ -473,9 +473,9 @@ checksum = "21900034f34b69f860a5ff66e0577b8e66d310090b04bf0334afea9a041e0cee" [[package]] name = "compiler_base_session" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "97b341da4005c8ae1956b12f6e06a41348c8f7e17212495b667de674439ee1b7" +checksum = "67411f0b5421d9c9f045ec08c4d01fe3861197d11215d1e2e448be663aff9ad9" dependencies = [ "anyhow", "compiler_base_error", @@ -484,9 +484,9 @@ dependencies = [ [[package]] name = "compiler_base_span" -version = "0.1.2" +version = "0.1.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f6e8afa5c627c3a70cfb1ecf2b387da163975752a04fcc560cdd63bb7d3de565" +checksum = "a42aae2adfa4b418441ede52835f3c96e9ca63d595f0ac861d94935757e9cb2e" dependencies = [ "rustc_span", ] @@ -2959,9 +2959,9 @@ dependencies = [ [[package]] name = "rustc_data_structures" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "06e6fc6fb8151c7a509b42dbc6ce73de4d5609790f4c2be2e3ef014d414ff4a4" +checksum = "a38bae9c6afa27015bcaa2869e03bb111ecf0d0e0edc2da559a91d4057174c9a" dependencies = [ "arrayvec", "bitflags 1.3.2", @@ -3002,9 +3002,9 @@ dependencies = [ [[package]] name = "rustc_span" -version = "0.1.1" +version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f68b517583d87938f5974aeed7b166e6bd8e3f09ce55cfb72542166316e3cd2a" +checksum = "043e9cc06c53de1f6a125e41e4b915d23a130241610a114ad4fe4f654617eae4" dependencies = [ "cfg-if 0.1.10", "md-5 0.10.6", diff --git a/kclvm/Cargo.toml b/kclvm/Cargo.toml index e5996d1bb..338ccf905 100644 --- a/kclvm/Cargo.toml +++ b/kclvm/Cargo.toml @@ -28,7 +28,7 @@ libloading = "0.7.3" chrono = "0.4.19" maplit = "1.0.2" anyhow = { version = "1.0.70", features = ["backtrace"] } -compiler_base_session = "0.1.2" +compiler_base_session = "0.1.3" kclvm-api = {path = "./api"} kclvm-cmd = {path = "./cmd"} diff --git a/kclvm/ast_pretty/Cargo.toml b/kclvm/ast_pretty/Cargo.toml index a132dbee7..8f017ad6d 100644 --- a/kclvm/ast_pretty/Cargo.toml +++ b/kclvm/ast_pretty/Cargo.toml @@ -12,7 +12,7 @@ kclvm-ast = {path = "../ast"} indexmap = "1.0" fancy-regex = "0.7.1" pretty_assertions = "1.3.0" -compiler_base_session = "0.1.2" +compiler_base_session = "0.1.3" compiler_base_macros = "0.1.1" [dev-dependencies] diff --git a/kclvm/cmd/Cargo.toml b/kclvm/cmd/Cargo.toml index d0c7f6bd6..f8ec4901d 100644 --- a/kclvm/cmd/Cargo.toml +++ b/kclvm/cmd/Cargo.toml @@ -6,7 +6,7 @@ edition = "2021" [dependencies] anyhow = "1.0" clap = "4.3.0" -compiler_base_session = "0.1.2" +compiler_base_session = "0.1.3" kclvm-api = {path = "../api"} kclvm-parser = {path = "../parser"} diff --git a/kclvm/error/Cargo.toml b/kclvm/error/Cargo.toml index c34df0148..5819a041d 100644 --- a/kclvm/error/Cargo.toml +++ b/kclvm/error/Cargo.toml @@ -7,8 +7,8 @@ edition = "2021" [dependencies] compiler_base_span = "0.1.2" -compiler_base_session = "0.1.2" -compiler_base_error = "0.1.5" +compiler_base_session = "0.1.3" +compiler_base_error = "0.1.6" compiler_base_macros = "0.1.1" kclvm-span = {path = "../span"} kclvm-runtime = {path = "../runtime"} diff --git a/kclvm/parser/Cargo.toml b/kclvm/parser/Cargo.toml index 69995fdab..3a0ae08d5 100644 --- a/kclvm/parser/Cargo.toml +++ b/kclvm/parser/Cargo.toml @@ -7,8 +7,8 @@ edition = "2021" [dependencies] compiler_base_span = "0.1.2" -compiler_base_session = "0.1.2" -compiler_base_error = "0.1.5" +compiler_base_session = "0.1.3" +compiler_base_error = "0.1.6" compiler_base_macros = "0.1.1" tracing = "0.1" serde = { version = "1", features = ["derive"] } diff --git a/kclvm/query/Cargo.toml b/kclvm/query/Cargo.toml index 144a7e7e1..e7e68b477 100644 --- a/kclvm/query/Cargo.toml +++ b/kclvm/query/Cargo.toml @@ -7,7 +7,7 @@ edition = "2021" [dependencies] anyhow = "1.0" -compiler_base_session = "0.1.2" +compiler_base_session = "0.1.3" compiler_base_macros = "0.1.1" indexmap = "1.0" diff --git a/kclvm/runner/Cargo.toml b/kclvm/runner/Cargo.toml index e418a8b15..42f1b17a2 100644 --- a/kclvm/runner/Cargo.toml +++ b/kclvm/runner/Cargo.toml @@ -23,7 +23,7 @@ anyhow = "1.0" once_cell = "1.10" cc = "1.0" uuid = "1.7.0" -compiler_base_session = "0.1.2" +compiler_base_session = "0.1.3" compiler_base_macros = "0.1.1" kclvm-ast = {path = "../ast"} diff --git a/kclvm/sema/Cargo.toml b/kclvm/sema/Cargo.toml index d717de12f..90d1c7d3b 100644 --- a/kclvm/sema/Cargo.toml +++ b/kclvm/sema/Cargo.toml @@ -29,9 +29,9 @@ kclvm-error = { path = "../error" } kclvm-span = { path = "../span" } kclvm-utils ={ path = "../utils" } compiler_base_span = "0.1.2" -compiler_base_session = "0.1.2" +compiler_base_session = "0.1.3" compiler_base_macros = "0.1.1" -compiler_base_error = "0.1.5" +compiler_base_error = "0.1.6" suggestions = "0.1.1" [dev-dependencies] diff --git a/kclvm/tools/Cargo.toml b/kclvm/tools/Cargo.toml index 342944d5f..944745d18 100644 --- a/kclvm/tools/Cargo.toml +++ b/kclvm/tools/Cargo.toml @@ -10,7 +10,7 @@ indexmap = "1.0" fancy-regex = "0.7.1" walkdir = "2" anyhow = "1.0" -compiler_base_session = "0.1.2" +compiler_base_session = "0.1.3" rustc_lexer = "0.1.0" kclvm-ast = {path = "../ast"} diff --git a/kclvm/tools/src/LSP/Cargo.toml b/kclvm/tools/src/LSP/Cargo.toml index 5b0171441..f4826d77b 100644 --- a/kclvm/tools/src/LSP/Cargo.toml +++ b/kclvm/tools/src/LSP/Cargo.toml @@ -29,7 +29,7 @@ kclvm-sema = { path = "../../../sema" } kclvm-ast = { path = "../../../ast" } kclvm-utils = { path = "../../../utils" } kclvm-version = { path = "../../../version" } -compiler_base_session = "0.1.2" +compiler_base_session = "0.1.3" kclvm-query = { path = "../../../query" } kclvm-span = { path = "../../../span" }