From bc5bad9236e0d8004f31415a88b70dc70c3b074d Mon Sep 17 00:00:00 2001 From: Lucas Date: Wed, 7 Aug 2024 19:04:41 -0300 Subject: [PATCH] Adjust cfg.rs --- Cargo.lock | 2 +- .../crates/ide-completion/src/completions/attribute/cfg.rs | 4 ++-- src/tools/tidy/src/extdeps.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 6ef1647506238..f0f648741cda8 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -740,7 +740,7 @@ checksum = "55b672471b4e9f9e95499ea597ff64941a309b2cdbffcc46f2cc5e2d971fd335" [[package]] name = "compiler_builtins" version = "0.1.112" -source = "git+https://github.com/LucasSte/compiler-builtins?tag=lucas-v1.42#d328c21d7545b0f793dec0b2435be13050146f67" +source = "git+https://github.com/LucasSte/compiler-builtins?tag=lucas-v1.42#4b298d1cbe7e4474767b7da4a222664fc053786a" dependencies = [ "cc", "rustc-std-workspace-core", diff --git a/src/tools/rust-analyzer/crates/ide-completion/src/completions/attribute/cfg.rs b/src/tools/rust-analyzer/crates/ide-completion/src/completions/attribute/cfg.rs index ad3a4f501e94d..e68130d8a4a8d 100644 --- a/src/tools/rust-analyzer/crates/ide-completion/src/completions/attribute/cfg.rs +++ b/src/tools/rust-analyzer/crates/ide-completion/src/completions/attribute/cfg.rs @@ -78,7 +78,7 @@ const KNOWN_ARCH: [&str; 20] = [ const KNOWN_ENV: [&str; 7] = ["eabihf", "gnu", "gnueabihf", "msvc", "relibc", "sgx", "uclibc"]; -const KNOWN_OS: [&str; 20] = [ +const KNOWN_OS: [&str; 21] = [ "cuda", "dragonfly", "emscripten", @@ -95,7 +95,7 @@ const KNOWN_OS: [&str; 20] = [ "psp", "redox", "solaris", - "solana" + "solana", "uefi", "unknown", "vxworks", diff --git a/src/tools/tidy/src/extdeps.rs b/src/tools/tidy/src/extdeps.rs index cae1fa0fa795c..9787c2bebbc22 100644 --- a/src/tools/tidy/src/extdeps.rs +++ b/src/tools/tidy/src/extdeps.rs @@ -5,7 +5,7 @@ use std::path::Path; /// List of allowed sources for packages. const ALLOWED_SOURCES: &[&str] = &["\"registry+https://github.com/rust-lang/crates.io-index\"", -"\"git+https://github.com/LucasSte/compiler-builtins?tag=lucas-v1.42#d328c21d7545b0f793dec0b2435be13050146f67\""]; +"\"git+https://github.com/LucasSte/compiler-builtins?tag=lucas-v1.42#4b298d1cbe7e4474767b7da4a222664fc053786a\""]; /// Checks for external package sources. `root` is the path to the directory that contains the /// workspace `Cargo.toml`.