Update the stdarch submodule
This commit is contained in:
parent
9bb855cda0
commit
77c14a5c5f
6
.gitmodules
vendored
6
.gitmodules
vendored
@ -31,9 +31,9 @@
|
|||||||
[submodule "src/llvm-emscripten"]
|
[submodule "src/llvm-emscripten"]
|
||||||
path = src/llvm-emscripten
|
path = src/llvm-emscripten
|
||||||
url = https://github.com/rust-lang/llvm.git
|
url = https://github.com/rust-lang/llvm.git
|
||||||
[submodule "src/stdsimd"]
|
[submodule "src/stdarch"]
|
||||||
path = src/stdsimd
|
path = src/stdarch
|
||||||
url = https://github.com/rust-lang-nursery/stdsimd.git
|
url = https://github.com/rust-lang/stdarch.git
|
||||||
[submodule "src/doc/rustc-guide"]
|
[submodule "src/doc/rustc-guide"]
|
||||||
path = src/doc/rustc-guide
|
path = src/doc/rustc-guide
|
||||||
url = https://github.com/rust-lang/rustc-guide.git
|
url = https://github.com/rust-lang/rustc-guide.git
|
||||||
|
@ -903,7 +903,7 @@ fn run(self, builder: &Builder<'_>) -> PathBuf {
|
|||||||
"src/libtest",
|
"src/libtest",
|
||||||
"src/libterm",
|
"src/libterm",
|
||||||
"src/libprofiler_builtins",
|
"src/libprofiler_builtins",
|
||||||
"src/stdsimd",
|
"src/stdarch",
|
||||||
"src/libproc_macro",
|
"src/libproc_macro",
|
||||||
"src/tools/rustc-std-workspace-core",
|
"src/tools/rustc-std-workspace-core",
|
||||||
"src/tools/rustc-std-workspace-alloc",
|
"src/tools/rustc-std-workspace-alloc",
|
||||||
|
@ -228,12 +228,12 @@
|
|||||||
mod unit;
|
mod unit;
|
||||||
|
|
||||||
// Pull in the `core_arch` crate directly into libcore. The contents of
|
// Pull in the `core_arch` crate directly into libcore. The contents of
|
||||||
// `core_arch` are in a different repository: rust-lang-nursery/stdsimd.
|
// `core_arch` are in a different repository: rust-lang/stdarch.
|
||||||
//
|
//
|
||||||
// `core_arch` depends on libcore, but the contents of this module are
|
// `core_arch` depends on libcore, but the contents of this module are
|
||||||
// set up in such a way that directly pulling it here works such that the
|
// set up in such a way that directly pulling it here works such that the
|
||||||
// crate uses the this crate as its libcore.
|
// crate uses the this crate as its libcore.
|
||||||
#[path = "../stdsimd/crates/core_arch/src/mod.rs"]
|
#[path = "../stdarch/crates/core_arch/src/mod.rs"]
|
||||||
#[allow(missing_docs, missing_debug_implementations, dead_code, unused_imports)]
|
#[allow(missing_docs, missing_debug_implementations, dead_code, unused_imports)]
|
||||||
#[unstable(feature = "stdsimd", issue = "48556")]
|
#[unstable(feature = "stdsimd", issue = "48556")]
|
||||||
mod core_arch;
|
mod core_arch;
|
||||||
|
@ -80,8 +80,8 @@ wasm_syscall = []
|
|||||||
# current thread id and accessing/getting the current thread's TCB
|
# current thread id and accessing/getting the current thread's TCB
|
||||||
wasm-bindgen-threads = []
|
wasm-bindgen-threads = []
|
||||||
|
|
||||||
# Enable std_detect default features for stdsimd:
|
# Enable std_detect default features for stdarch/crates/std_detect:
|
||||||
# https://github.com/rust-lang-nursery/stdsimd/blob/master/crates/std_detect/Cargo.toml
|
# https://github.com/rust-lang/stdarch/blob/master/crates/std_detect/Cargo.toml
|
||||||
std_detect_file_io = []
|
std_detect_file_io = []
|
||||||
std_detect_dlsym_getauxval = []
|
std_detect_dlsym_getauxval = []
|
||||||
|
|
||||||
|
@ -492,12 +492,12 @@ pub mod task {
|
|||||||
pub mod rt;
|
pub mod rt;
|
||||||
|
|
||||||
// Pull in the `std_detect` crate directly into libstd. The contents of
|
// Pull in the `std_detect` crate directly into libstd. The contents of
|
||||||
// `std_detect` are in a different repository: rust-lang-nursery/stdsimd.
|
// `std_detect` are in a different repository: rust-lang/stdarch.
|
||||||
//
|
//
|
||||||
// `std_detect` depends on libstd, but the contents of this module are
|
// `std_detect` depends on libstd, but the contents of this module are
|
||||||
// set up in such a way that directly pulling it here works such that the
|
// set up in such a way that directly pulling it here works such that the
|
||||||
// crate uses the this crate as its libstd.
|
// crate uses the this crate as its libstd.
|
||||||
#[path = "../stdsimd/crates/std_detect/src/mod.rs"]
|
#[path = "../stdarch/crates/std_detect/src/mod.rs"]
|
||||||
#[allow(missing_debug_implementations, missing_docs, dead_code)]
|
#[allow(missing_debug_implementations, missing_docs, dead_code)]
|
||||||
#[unstable(feature = "stdsimd", issue = "48556")]
|
#[unstable(feature = "stdsimd", issue = "48556")]
|
||||||
#[cfg(not(test))]
|
#[cfg(not(test))]
|
||||||
|
1
src/stdarch
Submodule
1
src/stdarch
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit 8cb42c97023fc1cd69f8f81e351b8ba18dcf233b
|
@ -1 +0,0 @@
|
|||||||
Subproject commit 4bf456c35e85fcca5cf95008401af8ab25abf850
|
|
@ -59,7 +59,7 @@ fn filter_dirs(path: &Path) -> bool {
|
|||||||
"src/tools/lld",
|
"src/tools/lld",
|
||||||
"src/tools/lldb",
|
"src/tools/lldb",
|
||||||
"src/target",
|
"src/target",
|
||||||
"src/stdsimd",
|
"src/stdarch",
|
||||||
"src/rust-sgx",
|
"src/rust-sgx",
|
||||||
"target",
|
"target",
|
||||||
"vendor",
|
"vendor",
|
||||||
|
Loading…
Reference in New Issue
Block a user