From 064e16c882e1774a4f4bf4a5d00aa9705ca685a5 Mon Sep 17 00:00:00 2001 From: purplerain Date: Sun, 24 Mar 2024 02:17:26 +0000 Subject: [PATCH] UPDATE: lang/rust > 1.77.0 --- lang/rust/Makefile | 20 +- lang/rust/distinfo | 24 +- ...mir_transform_src_abort_unwinding_calls_rs | 2 +- ...atch-compiler_rustc_session_src_options_rs | 4 +- ...tc_target_src_spec_i686_unknown_openbsd_rs | 14 - ...t_src_spec_targets_i686_unknown_openbsd_rs | 14 + ... patch-library_std_src_sys_pal_unix_os_rs} | 8 +- .../patches/patch-src_bootstrap_bootstrap_py | 6 +- lang/rust/patches/patch-src_bootstrap_lib_rs | 14 - ...s => patch-src_bootstrap_src_bin_rustc_rs} | 17 +- ...rc_bootstrap_src_core_build_steps_test_rs} | 8 +- .../patches/patch-src_bootstrap_src_lib_rs | 14 + ...oject_llvm_tools_llvm-shlib_CMakeLists_txt | 2 +- .../patches/patch-vendor_libgit2-sys_build_rs | 13 +- ...openssl-sys-0_9_90_src_handwritten_x509_rs | 38 + ...ch-vendor_openssl-sys-0_9_92_build_main_rs | 14 + ...openssl-sys-0_9_92_src_handwritten_x509_rs | 38 + .../patch-vendor_openssl-sys_build_main_rs | 8 +- .../patch-vendor_openssl-sys_src_crypto_rs | 41 ++ ...ndor_openssl-sys_src_handwritten_crypto_rs | 14 + ...endor_openssl-sys_src_handwritten_stack_rs | 14 + .../patch-vendor_openssl-sys_src_macros_rs | 14 + .../patches/patch-vendor_openssl_build_rs | 15 + .../patches/patch-vendor_openssl_src_lib_rs | 21 + lang/rust/pkg/PLIST-main | 332 ++++++++- lang/rust/pkg/PLIST-src | 651 +++++++++--------- lang/rust/rust.port.mk | 29 + 27 files changed, 997 insertions(+), 392 deletions(-) delete mode 100644 lang/rust/patches/patch-compiler_rustc_target_src_spec_i686_unknown_openbsd_rs create mode 100644 lang/rust/patches/patch-compiler_rustc_target_src_spec_targets_i686_unknown_openbsd_rs rename lang/rust/patches/{patch-library_std_src_sys_unix_os_rs => patch-library_std_src_sys_pal_unix_os_rs} (79%) delete mode 100644 lang/rust/patches/patch-src_bootstrap_lib_rs rename lang/rust/patches/{patch-src_bootstrap_bin_rustc_rs => patch-src_bootstrap_src_bin_rustc_rs} (65%) rename lang/rust/patches/{patch-src_bootstrap_test_rs => patch-src_bootstrap_src_core_build_steps_test_rs} (57%) create mode 100644 lang/rust/patches/patch-src_bootstrap_src_lib_rs create mode 100644 lang/rust/patches/patch-vendor_openssl-sys-0_9_90_src_handwritten_x509_rs create mode 100644 lang/rust/patches/patch-vendor_openssl-sys-0_9_92_build_main_rs create mode 100644 lang/rust/patches/patch-vendor_openssl-sys-0_9_92_src_handwritten_x509_rs create mode 100644 lang/rust/patches/patch-vendor_openssl-sys_src_crypto_rs create mode 100644 lang/rust/patches/patch-vendor_openssl-sys_src_handwritten_crypto_rs create mode 100644 lang/rust/patches/patch-vendor_openssl-sys_src_handwritten_stack_rs create mode 100644 lang/rust/patches/patch-vendor_openssl-sys_src_macros_rs create mode 100644 lang/rust/patches/patch-vendor_openssl_build_rs create mode 100644 lang/rust/patches/patch-vendor_openssl_src_lib_rs create mode 100644 lang/rust/rust.port.mk diff --git a/lang/rust/Makefile b/lang/rust/Makefile index f3b8b8458..d3cf282a7 100644 --- a/lang/rust/Makefile +++ b/lang/rust/Makefile @@ -5,7 +5,7 @@ BROKEN-powerpc64 = needs new bootstrap .if "${MACHINE_ARCH}" == "i386" DPB_PROPERTIES = lonesome .else -DPB_PROPERTIES = parallel parallel2 +DPB_PROPERTIES = parallel .endif COMMENT-main = compiler for Rust Language @@ -14,16 +14,16 @@ COMMENT-clippy = Rust linter COMMENT-rustfmt = Rust code formatter COMMENT-src = Rust source component -V = 1.73.0 +V = 1.77.0 DISTNAME = rustc-${V}-src # rustc bootstrap version -BV-aarch64 = 1.73.0-20231007 -BV-amd64 = 1.73.0-20231004 -BV-i386 = 1.73.0-20231005 +BV-aarch64 = 1.77.0-20240320 +BV-amd64 = 1.77.0-20240318 +BV-i386 = 1.77.0-20240319 BV-powerpc64 = 1.65.0-20221213 -BV-riscv64 = 1.72.0-20230920 -BV-sparc64 = 1.72.0-20230920 +BV-riscv64 = 1.76.0-20240228 +BV-sparc64 = 1.76.0p0-20240318 BV = ${BV-${MACHINE_ARCH}} PKGNAME = rust-${V} @@ -80,7 +80,7 @@ TRIPLE_ARCH-riscv64 = riscv64gc-unknown-openbsd TRIPLE_ARCH-sparc64 = sparc64-unknown-openbsd TRIPLE_ARCH = ${TRIPLE_ARCH-${MACHINE_ARCH}} -USE_EMB_LLVM ?= Yes +USE_EMB_LLVM ?= No # flags to use when building LLVM LLVMCXXFLAGS-aarch64 = -fno-ret-protector @@ -197,7 +197,7 @@ pre-configure: # - generate config.toml file do-configure: - echo 'changelog-seen = 2' >${WRKBUILD}/config.toml + echo 'change-id = 118703' >${WRKBUILD}/config.toml echo '[build]' >>${WRKBUILD}/config.toml .if ${FLAVOR} == native_bootstrap echo 'rustc = "${LOCALBASE}/bin/rustc"' >>${WRKBUILD}/config.toml @@ -306,7 +306,7 @@ do-test: STRIP ?= strip # Try to avoid strip from our ancient binutils-2.17 .if ${LINKER_VERSION} != "lld" -STRIP = llvm-strip +STRIP = llvm-strip-${MODCLANG_VERSION} .endif # bootstrap target permits to regenerate the bootstrap archive diff --git a/lang/rust/distinfo b/lang/rust/distinfo index a6ab3232a..febe29c6f 100644 --- a/lang/rust/distinfo +++ b/lang/rust/distinfo @@ -1,14 +1,14 @@ -SHA256 (rust/rustc-1.73.0-src.tar.xz) = bq9nLb6i5llq+MmZ9eaSS5r0u4sCFmv+C5KOaKp1rmI= -SHA256 (rust/rustc-bootstrap-aarch64-1.73.0-20231007.tar.xz) = NnC+Tyfxc9P0ZVECHEtnB2LZkblRYrQ6SyLMHRkWxzk= -SHA256 (rust/rustc-bootstrap-amd64-1.73.0-20231004.tar.xz) = n2l0Q3Vudo46il9XOQbpPUBw1bs1FQlb6HMxXD/UnPU= -SHA256 (rust/rustc-bootstrap-i386-1.73.0-20231005.tar.xz) = 1IzX6mZiOn4tkFj/2o644RUGkoRO97TNN3o4Vx45SzY= +SHA256 (rust/rustc-1.77.0-src.tar.xz) = ZhJpiXgsv3f6Ov8SG7sQhCny1G/hkyjD3iMVU95xG5A= +SHA256 (rust/rustc-bootstrap-aarch64-1.77.0-20240320.tar.xz) = tDKRJizsDIAdAp6d5ix5+l69DyjIAoph1HGIZbzUGec= +SHA256 (rust/rustc-bootstrap-amd64-1.77.0-20240318.tar.xz) = tKsdOp7s93WYniOzTtyElwQWKhmP256o3WW+J5o7I90= +SHA256 (rust/rustc-bootstrap-i386-1.77.0-20240319.tar.xz) = OU/tcma4mRc7M5EklA1pTc8cK+PRxPuUsz+tw8aEZtA= SHA256 (rust/rustc-bootstrap-powerpc64-1.65.0-20221213.tar.xz) = w5/EmOdqCKuxnLR2RG6/lZIZW57e+FhvxoA5VUniaTY= -SHA256 (rust/rustc-bootstrap-riscv64-1.72.0-20230920.tar.xz) = 4TAcFDYkum+D+SZQkQita974hvUzGLaoEmDcbXUhZ6o= -SHA256 (rust/rustc-bootstrap-sparc64-1.72.0-20230920.tar.xz) = 5Arfg3LL4PpnA/z/ckfGogUC8LlPNbgUywEmA5+d6n0= -SIZE (rust/rustc-1.73.0-src.tar.xz) = 154319536 -SIZE (rust/rustc-bootstrap-aarch64-1.73.0-20231007.tar.xz) = 63575596 -SIZE (rust/rustc-bootstrap-amd64-1.73.0-20231004.tar.xz) = 69665652 -SIZE (rust/rustc-bootstrap-i386-1.73.0-20231005.tar.xz) = 71817024 +SHA256 (rust/rustc-bootstrap-riscv64-1.76.0-20240228.tar.xz) = Kwc77/OCmgGbtLgcMo0hA7UsirlI2khvknLrqSmqtfk= +SHA256 (rust/rustc-bootstrap-sparc64-1.76.0p0-20240318.tar.xz) = ABYo87h8HEIEiRwtE6/K+vvpKlsD6nzAofTHcdpURWc= +SIZE (rust/rustc-1.77.0-src.tar.xz) = 162805036 +SIZE (rust/rustc-bootstrap-aarch64-1.77.0-20240320.tar.xz) = 65563888 +SIZE (rust/rustc-bootstrap-amd64-1.77.0-20240318.tar.xz) = 72234960 +SIZE (rust/rustc-bootstrap-i386-1.77.0-20240319.tar.xz) = 73103320 SIZE (rust/rustc-bootstrap-powerpc64-1.65.0-20221213.tar.xz) = 61141484 -SIZE (rust/rustc-bootstrap-riscv64-1.72.0-20230920.tar.xz) = 61405024 -SIZE (rust/rustc-bootstrap-sparc64-1.72.0-20230920.tar.xz) = 61195032 +SIZE (rust/rustc-bootstrap-riscv64-1.76.0-20240228.tar.xz) = 70427064 +SIZE (rust/rustc-bootstrap-sparc64-1.76.0p0-20240318.tar.xz) = 65574512 diff --git a/lang/rust/patches/patch-compiler_rustc_mir_transform_src_abort_unwinding_calls_rs b/lang/rust/patches/patch-compiler_rustc_mir_transform_src_abort_unwinding_calls_rs index 1f58b96aa..fa799c528 100644 --- a/lang/rust/patches/patch-compiler_rustc_mir_transform_src_abort_unwinding_calls_rs +++ b/lang/rust/patches/patch-compiler_rustc_mir_transform_src_abort_unwinding_calls_rs @@ -4,7 +4,7 @@ https://github.com/rust-lang/rust/issues/90064 Index: compiler/rustc_mir_transform/src/abort_unwinding_calls.rs --- compiler/rustc_mir_transform/src/abort_unwinding_calls.rs.orig +++ compiler/rustc_mir_transform/src/abort_unwinding_calls.rs -@@ -90,6 +90,7 @@ impl<'tcx> MirPass<'tcx> for AbortUnwindingCalls { +@@ -89,6 +89,7 @@ impl<'tcx> MirPass<'tcx> for AbortUnwindingCalls { // registered for it. if !call_can_unwind { cleanups_to_remove.push(id); diff --git a/lang/rust/patches/patch-compiler_rustc_session_src_options_rs b/lang/rust/patches/patch-compiler_rustc_session_src_options_rs index 66f30f7ba..a513eb623 100644 --- a/lang/rust/patches/patch-compiler_rustc_session_src_options_rs +++ b/lang/rust/patches/patch-compiler_rustc_session_src_options_rs @@ -4,7 +4,7 @@ aarch64: make -Z branch-protection=bti,pac-ret the default Index: compiler/rustc_session/src/options.rs --- compiler/rustc_session/src/options.rs.orig +++ compiler/rustc_session/src/options.rs -@@ -1385,6 +1385,24 @@ options! { +@@ -1519,6 +1519,24 @@ options! { // - src/doc/rustc/src/codegen-options/index.md } @@ -29,7 +29,7 @@ Index: compiler/rustc_session/src/options.rs options! { UnstableOptions, Z_OPTIONS, dbopts, "Z", "unstable", -@@ -1410,9 +1428,9 @@ options! { +@@ -1544,9 +1562,9 @@ options! { (default: no)"), box_noalias: bool = (true, parse_bool, [TRACKED], "emit noalias metadata for box (default: yes)"), diff --git a/lang/rust/patches/patch-compiler_rustc_target_src_spec_i686_unknown_openbsd_rs b/lang/rust/patches/patch-compiler_rustc_target_src_spec_i686_unknown_openbsd_rs deleted file mode 100644 index 90f4975f9..000000000 --- a/lang/rust/patches/patch-compiler_rustc_target_src_spec_i686_unknown_openbsd_rs +++ /dev/null @@ -1,14 +0,0 @@ -i386 should be pentiumpro (no SSE2, no ...) - -Index: compiler/rustc_target/src/spec/i686_unknown_openbsd.rs ---- compiler/rustc_target/src/spec/i686_unknown_openbsd.rs.orig -+++ compiler/rustc_target/src/spec/i686_unknown_openbsd.rs -@@ -2,7 +2,7 @@ use crate::spec::{Cc, LinkerFlavor, Lld, StackProbeTyp - - pub fn target() -> Target { - let mut base = super::openbsd_base::opts(); -- base.cpu = "pentium4".into(); -+ base.cpu = "pentiumpro".into(); - base.max_atomic_width = Some(64); - base.add_pre_link_args(LinkerFlavor::Gnu(Cc::Yes, Lld::No), &["-m32", "-fuse-ld=lld"]); - base.stack_probes = StackProbeType::X86; diff --git a/lang/rust/patches/patch-compiler_rustc_target_src_spec_targets_i686_unknown_openbsd_rs b/lang/rust/patches/patch-compiler_rustc_target_src_spec_targets_i686_unknown_openbsd_rs new file mode 100644 index 000000000..09bc7a315 --- /dev/null +++ b/lang/rust/patches/patch-compiler_rustc_target_src_spec_targets_i686_unknown_openbsd_rs @@ -0,0 +1,14 @@ +i386 should be pentiumpro (no SSE2, no ...) + +Index: compiler/rustc_target/src/spec/targets/i686_unknown_openbsd.rs +--- compiler/rustc_target/src/spec/targets/i686_unknown_openbsd.rs.orig ++++ compiler/rustc_target/src/spec/targets/i686_unknown_openbsd.rs +@@ -2,7 +2,7 @@ use crate::spec::{base, Cc, LinkerFlavor, Lld, StackPr + + pub fn target() -> Target { + let mut base = base::openbsd::opts(); +- base.cpu = "pentium4".into(); ++ base.cpu = "pentiumpro".into(); + base.max_atomic_width = Some(64); + base.add_pre_link_args(LinkerFlavor::Gnu(Cc::Yes, Lld::No), &["-m32", "-fuse-ld=lld"]); + base.stack_probes = StackProbeType::Inline; diff --git a/lang/rust/patches/patch-library_std_src_sys_unix_os_rs b/lang/rust/patches/patch-library_std_src_sys_pal_unix_os_rs similarity index 79% rename from lang/rust/patches/patch-library_std_src_sys_unix_os_rs rename to lang/rust/patches/patch-library_std_src_sys_pal_unix_os_rs index 2a44adf41..2e3bedc7e 100644 --- a/lang/rust/patches/patch-library_std_src_sys_unix_os_rs +++ b/lang/rust/patches/patch-library_std_src_sys_pal_unix_os_rs @@ -1,9 +1,9 @@ argv0 isn't suitable as current_exe() in all cases. -Index: library/std/src/sys/unix/os.rs ---- library/std/src/sys/unix/os.rs.orig -+++ library/std/src/sys/unix/os.rs -@@ -347,14 +347,17 @@ pub fn current_exe() -> io::Result { +Index: library/std/src/sys/pal/unix/os.rs +--- library/std/src/sys/pal/unix/os.rs.orig ++++ library/std/src/sys/pal/unix/os.rs +@@ -391,14 +391,17 @@ pub fn current_exe() -> io::Result { if argv[0].is_null() { return Err(io::const_io_error!( io::ErrorKind::Uncategorized, diff --git a/lang/rust/patches/patch-src_bootstrap_bootstrap_py b/lang/rust/patches/patch-src_bootstrap_bootstrap_py index 3a12c2f6e..f5cee8dc9 100644 --- a/lang/rust/patches/patch-src_bootstrap_bootstrap_py +++ b/lang/rust/patches/patch-src_bootstrap_bootstrap_py @@ -3,9 +3,9 @@ Workaround for sparc64: bootstrap segfaults without -O3 Index: src/bootstrap/bootstrap.py --- src/bootstrap/bootstrap.py.orig +++ src/bootstrap/bootstrap.py -@@ -936,6 +936,9 @@ class RustBuild(object): - if deny_warnings: - env["RUSTFLAGS"] += " -Dwarnings" +@@ -975,6 +975,9 @@ class RustBuild(object): + if "RUSTFLAGS_BOOTSTRAP" in env: + env["RUSTFLAGS"] += " " + env["RUSTFLAGS_BOOTSTRAP"] + if self.build_triple() == "sparc64-unknown-openbsd": + env["RUSTFLAGS"] += " -Copt-level=3" diff --git a/lang/rust/patches/patch-src_bootstrap_lib_rs b/lang/rust/patches/patch-src_bootstrap_lib_rs deleted file mode 100644 index b2c531cbf..000000000 --- a/lang/rust/patches/patch-src_bootstrap_lib_rs +++ /dev/null @@ -1,14 +0,0 @@ -let us compilation choice to be honored. -https://github.com/rust-lang/rust/issues/39900 - -Index: src/bootstrap/lib.rs ---- src/bootstrap/lib.rs.orig -+++ src/bootstrap/lib.rs -@@ -1177,7 +1177,6 @@ impl Build { - .args() - .iter() - .map(|s| s.to_string_lossy().into_owned()) -- .filter(|s| !s.starts_with("-O") && !s.starts_with("/O")) - .collect::>(); - - // If we're compiling on macOS then we add a few unconditional flags diff --git a/lang/rust/patches/patch-src_bootstrap_bin_rustc_rs b/lang/rust/patches/patch-src_bootstrap_src_bin_rustc_rs similarity index 65% rename from lang/rust/patches/patch-src_bootstrap_bin_rustc_rs rename to lang/rust/patches/patch-src_bootstrap_src_bin_rustc_rs index e110fd4e6..451c72c84 100644 --- a/lang/rust/patches/patch-src_bootstrap_bin_rustc_rs +++ b/lang/rust/patches/patch-src_bootstrap_src_bin_rustc_rs @@ -1,11 +1,11 @@ try to reduce memory usage on aarch64 and i386: - reduce memory use by retaining fewer names within compilation artifacts - - divise (with codegen-units) the unit in smaller parts to manipulate it + - divise (with codegen-units) the unit in smaller parts to manipulate it -Index: src/bootstrap/bin/rustc.rs ---- src/bootstrap/bin/rustc.rs.orig -+++ src/bootstrap/bin/rustc.rs -@@ -114,6 +114,19 @@ fn main() { +Index: src/bootstrap/src/bin/rustc.rs +--- src/bootstrap/src/bin/rustc.rs.orig ++++ src/bootstrap/src/bin/rustc.rs +@@ -150,6 +150,18 @@ fn main() { { cmd.arg("-Ztls-model=initial-exec"); } @@ -21,7 +21,6 @@ Index: src/bootstrap/bin/rustc.rs + cmd.arg("-Z").arg("fewer-names"); + cmd.arg("-C").arg("codegen-units=64"); + } -+ - } else { - // FIXME(rust-lang/cargo#5754) we shouldn't be using special env vars - // here, but rather Cargo should know what flags to pass rustc itself. + } else if std::env::var("MIRI").is_err() { + // Find any host flags that were passed by bootstrap. + // The flags are stored in a RUSTC_HOST_FLAGS variable, separated by spaces. diff --git a/lang/rust/patches/patch-src_bootstrap_test_rs b/lang/rust/patches/patch-src_bootstrap_src_core_build_steps_test_rs similarity index 57% rename from lang/rust/patches/patch-src_bootstrap_test_rs rename to lang/rust/patches/patch-src_bootstrap_src_core_build_steps_test_rs index 1345fb4cb..fd9d8a62b 100644 --- a/lang/rust/patches/patch-src_bootstrap_test_rs +++ b/lang/rust/patches/patch-src_bootstrap_src_core_build_steps_test_rs @@ -1,9 +1,9 @@ Disable "Bootstrap" test by default (it requires network). -Index: src/bootstrap/test.rs ---- src/bootstrap/test.rs.orig -+++ src/bootstrap/test.rs -@@ -2686,7 +2686,7 @@ pub struct Bootstrap; +Index: src/bootstrap/src/core/build_steps/test.rs +--- src/bootstrap/src/core/build_steps/test.rs.orig ++++ src/bootstrap/src/core/build_steps/test.rs +@@ -2869,7 +2869,7 @@ pub struct Bootstrap; impl Step for Bootstrap { type Output = (); diff --git a/lang/rust/patches/patch-src_bootstrap_src_lib_rs b/lang/rust/patches/patch-src_bootstrap_src_lib_rs new file mode 100644 index 000000000..ec893a988 --- /dev/null +++ b/lang/rust/patches/patch-src_bootstrap_src_lib_rs @@ -0,0 +1,14 @@ +let us compilation choice to be honored. +https://github.com/rust-lang/rust/issues/39900 + +Index: src/bootstrap/src/lib.rs +--- src/bootstrap/src/lib.rs.orig ++++ src/bootstrap/src/lib.rs +@@ -1212,7 +1212,6 @@ impl Build { + .args() + .iter() + .map(|s| s.to_string_lossy().into_owned()) +- .filter(|s| !s.starts_with("-O") && !s.starts_with("/O")) + .collect::>(); + + // If we're compiling C++ on macOS then we add a flag indicating that diff --git a/lang/rust/patches/patch-src_llvm-project_llvm_tools_llvm-shlib_CMakeLists_txt b/lang/rust/patches/patch-src_llvm-project_llvm_tools_llvm-shlib_CMakeLists_txt index f689c6337..a6cdfed52 100644 --- a/lang/rust/patches/patch-src_llvm-project_llvm_tools_llvm-shlib_CMakeLists_txt +++ b/lang/rust/patches/patch-src_llvm-project_llvm_tools_llvm-shlib_CMakeLists_txt @@ -3,7 +3,7 @@ Do not pass -Bsymbolic-functions on sparc64, the linker doesn't support it Index: src/llvm-project/llvm/tools/llvm-shlib/CMakeLists.txt --- src/llvm-project/llvm/tools/llvm-shlib/CMakeLists.txt.orig +++ src/llvm-project/llvm/tools/llvm-shlib/CMakeLists.txt -@@ -51,7 +51,7 @@ if(LLVM_BUILD_LLVM_DYLIB) +@@ -53,7 +53,7 @@ if(LLVM_BUILD_LLVM_DYLIB) # Solaris ld does not accept global: *; so there is no way to version *all* global symbols set(LIB_NAMES -Wl,--version-script,${LLVM_LIBRARY_DIR}/tools/llvm-shlib/simple_version_script.map ${LIB_NAMES}) endif() diff --git a/lang/rust/patches/patch-vendor_libgit2-sys_build_rs b/lang/rust/patches/patch-vendor_libgit2-sys_build_rs index 260db0289..f06768bc8 100644 --- a/lang/rust/patches/patch-vendor_libgit2-sys_build_rs +++ b/lang/rust/patches/patch-vendor_libgit2-sys_build_rs @@ -3,15 +3,20 @@ libgit2: force embedded version Index: vendor/libgit2-sys/build.rs --- vendor/libgit2-sys/build.rs.orig +++ vendor/libgit2-sys/build.rs -@@ -9,9 +9,10 @@ fn main() { +@@ -26,6 +26,7 @@ fn main() { let ssh = env::var("CARGO_FEATURE_SSH").is_ok(); let vendored = env::var("CARGO_FEATURE_VENDORED").is_ok(); let zlib_ng_compat = env::var("CARGO_FEATURE_ZLIB_NG_COMPAT").is_ok(); + let force = true; + // Specify `LIBGIT2_NO_VENDOR` to force to use system libgit2. + // Due to the additive nature of Cargo features, if some crate in the +@@ -49,7 +50,7 @@ The build is now aborting. To disable, unset the varia + } + // To use zlib-ng in zlib-compat mode, we have to build libgit2 ourselves. - let try_to_use_system_libgit2 = !vendored && !zlib_ng_compat; + let try_to_use_system_libgit2 = !force && !vendored && !zlib_ng_compat; - if try_to_use_system_libgit2 { - let mut cfg = pkg_config::Config::new(); - if let Ok(lib) = cfg.range_version("1.6.4".."1.7.0").probe("libgit2") { + if try_to_use_system_libgit2 && try_system_libgit2().is_ok() { + // using system libgit2 has worked + return; diff --git a/lang/rust/patches/patch-vendor_openssl-sys-0_9_90_src_handwritten_x509_rs b/lang/rust/patches/patch-vendor_openssl-sys-0_9_90_src_handwritten_x509_rs new file mode 100644 index 000000000..696b94d21 --- /dev/null +++ b/lang/rust/patches/patch-vendor_openssl-sys-0_9_90_src_handwritten_x509_rs @@ -0,0 +1,38 @@ +https://github.com/sfackler/rust-openssl/pull/2145 + +Index: vendor/openssl-sys-0.9.90/src/handwritten/x509.rs +--- vendor/openssl-sys-0.9.90/src/handwritten/x509.rs.orig ++++ vendor/openssl-sys-0.9.90/src/handwritten/x509.rs +@@ -685,16 +685,22 @@ extern "C" { + pub fn X509_REQ_print(bio: *mut BIO, req: *mut X509_REQ) -> c_int; + } + +-#[repr(C)] +-pub struct X509_PURPOSE { +- pub purpose: c_int, +- pub trust: c_int, // Default trust ID +- pub flags: c_int, +- pub check_purpose: +- Option c_int>, +- pub name: *mut c_char, +- pub sname: *mut c_char, +- pub usr_data: *mut c_void, ++cfg_if! { ++ if #[cfg(libressl390)] { ++ pub enum X509_PURPOSE {} ++ } else { ++ #[repr(C)] ++ pub struct X509_PURPOSE { ++ pub purpose: c_int, ++ pub trust: c_int, // Default trust ID ++ pub flags: c_int, ++ pub check_purpose: ++ Option c_int>, ++ pub name: *mut c_char, ++ pub sname: *mut c_char, ++ pub usr_data: *mut c_void, ++ } ++ } + } + + const_ptr_api! { diff --git a/lang/rust/patches/patch-vendor_openssl-sys-0_9_92_build_main_rs b/lang/rust/patches/patch-vendor_openssl-sys-0_9_92_build_main_rs new file mode 100644 index 000000000..10d40051f --- /dev/null +++ b/lang/rust/patches/patch-vendor_openssl-sys-0_9_92_build_main_rs @@ -0,0 +1,14 @@ +The LibreSSL version in -current isn't explicitly supported. + +Index: vendor/openssl-sys-0.9.92/build/main.rs +--- vendor/openssl-sys-0.9.92/build/main.rs.orig ++++ vendor/openssl-sys-0.9.92/build/main.rs +@@ -273,7 +273,7 @@ See rust-openssl documentation for more information: + (3, 7, 1) => ('3', '7', '1'), + (3, 7, _) => ('3', '7', 'x'), + (3, 8, 0) => ('3', '8', '0'), +- _ => version_error(), ++ _ => ('3', '8', '0'), + }; + + println!("cargo:libressl=true"); diff --git a/lang/rust/patches/patch-vendor_openssl-sys-0_9_92_src_handwritten_x509_rs b/lang/rust/patches/patch-vendor_openssl-sys-0_9_92_src_handwritten_x509_rs new file mode 100644 index 000000000..26761ef0b --- /dev/null +++ b/lang/rust/patches/patch-vendor_openssl-sys-0_9_92_src_handwritten_x509_rs @@ -0,0 +1,38 @@ +https://github.com/sfackler/rust-openssl/pull/2145 + +Index: vendor/openssl-sys-0.9.92/src/handwritten/x509.rs +--- vendor/openssl-sys-0.9.92/src/handwritten/x509.rs.orig ++++ vendor/openssl-sys-0.9.92/src/handwritten/x509.rs +@@ -685,16 +685,22 @@ extern "C" { + pub fn X509_REQ_print(bio: *mut BIO, req: *mut X509_REQ) -> c_int; + } + +-#[repr(C)] +-pub struct X509_PURPOSE { +- pub purpose: c_int, +- pub trust: c_int, // Default trust ID +- pub flags: c_int, +- pub check_purpose: +- Option c_int>, +- pub name: *mut c_char, +- pub sname: *mut c_char, +- pub usr_data: *mut c_void, ++cfg_if! { ++ if #[cfg(libressl390)] { ++ pub enum X509_PURPOSE {} ++ } else { ++ #[repr(C)] ++ pub struct X509_PURPOSE { ++ pub purpose: c_int, ++ pub trust: c_int, // Default trust ID ++ pub flags: c_int, ++ pub check_purpose: ++ Option c_int>, ++ pub name: *mut c_char, ++ pub sname: *mut c_char, ++ pub usr_data: *mut c_void, ++ } ++ } + } + + const_ptr_api! { diff --git a/lang/rust/patches/patch-vendor_openssl-sys_build_main_rs b/lang/rust/patches/patch-vendor_openssl-sys_build_main_rs index 682a315af..c9217d6d0 100644 --- a/lang/rust/patches/patch-vendor_openssl-sys_build_main_rs +++ b/lang/rust/patches/patch-vendor_openssl-sys_build_main_rs @@ -3,12 +3,12 @@ The LibreSSL version in -current isn't explicitly supported. Index: vendor/openssl-sys/build/main.rs --- vendor/openssl-sys/build/main.rs.orig +++ vendor/openssl-sys/build/main.rs -@@ -274,7 +274,7 @@ See rust-openssl documentation for more information: - (3, 7, 1) => ('3', '7', '1'), - (3, 7, _) => ('3', '7', 'x'), +@@ -293,7 +293,7 @@ See rust-openssl documentation for more information: (3, 8, 0) => ('3', '8', '0'), + (3, 8, 1) => ('3', '8', '1'), + (3, 8, _) => ('3', '8', 'x'), - _ => version_error(), -+ _ => ('3', '8', '0'), ++ _ => ('3', '8', 'x'), }; println!("cargo:libressl=true"); diff --git a/lang/rust/patches/patch-vendor_openssl-sys_src_crypto_rs b/lang/rust/patches/patch-vendor_openssl-sys_src_crypto_rs new file mode 100644 index 000000000..d8be1f6ba --- /dev/null +++ b/lang/rust/patches/patch-vendor_openssl-sys_src_crypto_rs @@ -0,0 +1,41 @@ +https://github.com/sfackler/rust-openssl/pull/2170 + +Index: vendor/openssl-sys/src/crypto.rs +--- vendor/openssl-sys/src/crypto.rs.orig ++++ vendor/openssl-sys/src/crypto.rs +@@ -57,7 +57,7 @@ pub type CRYPTO_EX_free = unsafe extern "C" fn( + argp: *mut c_void, + ); + +-#[cfg(ossl110)] ++#[cfg(any(ossl110, libressl390))] + #[inline] + #[track_caller] + pub unsafe fn OPENSSL_malloc(num: usize) -> *mut c_void { +@@ -68,7 +68,7 @@ pub unsafe fn OPENSSL_malloc(num: usize) -> *mut c_voi + ) + } + +-#[cfg(not(ossl110))] ++#[cfg(not(any(ossl110, libressl390)))] + #[inline] + #[track_caller] + pub unsafe fn OPENSSL_malloc(num: c_int) -> *mut c_void { +@@ -79,7 +79,7 @@ pub unsafe fn OPENSSL_malloc(num: c_int) -> *mut c_voi + ) + } + +-#[cfg(ossl110)] ++#[cfg(any(ossl110, libressl390))] + #[inline] + #[track_caller] + pub unsafe fn OPENSSL_free(addr: *mut c_void) { +@@ -90,7 +90,7 @@ pub unsafe fn OPENSSL_free(addr: *mut c_void) { + ) + } + +-#[cfg(not(ossl110))] ++#[cfg(not(any(ossl110, libressl390)))] + #[inline] + pub unsafe fn OPENSSL_free(addr: *mut c_void) { + CRYPTO_free(addr) diff --git a/lang/rust/patches/patch-vendor_openssl-sys_src_handwritten_crypto_rs b/lang/rust/patches/patch-vendor_openssl-sys_src_handwritten_crypto_rs new file mode 100644 index 000000000..758a6d454 --- /dev/null +++ b/lang/rust/patches/patch-vendor_openssl-sys_src_handwritten_crypto_rs @@ -0,0 +1,14 @@ +https://github.com/sfackler/rust-openssl/pull/2170 + +Index: vendor/openssl-sys/src/handwritten/crypto.rs +--- vendor/openssl-sys/src/handwritten/crypto.rs.orig ++++ vendor/openssl-sys/src/handwritten/crypto.rs +@@ -57,7 +57,7 @@ extern "C" { + } + + cfg_if! { +- if #[cfg(ossl110)] { ++ if #[cfg(any(ossl110, libressl390))] { + extern "C" { + pub fn CRYPTO_malloc(num: size_t, file: *const c_char, line: c_int) -> *mut c_void; + pub fn CRYPTO_free(buf: *mut c_void, file: *const c_char, line: c_int); diff --git a/lang/rust/patches/patch-vendor_openssl-sys_src_handwritten_stack_rs b/lang/rust/patches/patch-vendor_openssl-sys_src_handwritten_stack_rs new file mode 100644 index 000000000..b8af169a0 --- /dev/null +++ b/lang/rust/patches/patch-vendor_openssl-sys_src_handwritten_stack_rs @@ -0,0 +1,14 @@ +https://github.com/sfackler/rust-openssl/pull/2153 + +Index: vendor/openssl-sys/src/handwritten/stack.rs +--- vendor/openssl-sys/src/handwritten/stack.rs.orig ++++ vendor/openssl-sys/src/handwritten/stack.rs +@@ -3,6 +3,8 @@ use libc::*; + cfg_if! { + if #[cfg(ossl110)] { + pub enum OPENSSL_STACK {} ++ } else if #[cfg(libressl390)] { ++ pub enum _STACK {} + } else { + #[repr(C)] + pub struct _STACK { diff --git a/lang/rust/patches/patch-vendor_openssl-sys_src_macros_rs b/lang/rust/patches/patch-vendor_openssl-sys_src_macros_rs new file mode 100644 index 000000000..4cc59e6dc --- /dev/null +++ b/lang/rust/patches/patch-vendor_openssl-sys_src_macros_rs @@ -0,0 +1,14 @@ +https://github.com/sfackler/rust-openssl/pull/2153 + +Index: vendor/openssl-sys/src/macros.rs +--- vendor/openssl-sys/src/macros.rs.orig ++++ vendor/openssl-sys/src/macros.rs +@@ -58,7 +58,7 @@ macro_rules! cfg_if { + macro_rules! stack { + ($t:ident) => { + cfg_if! { +- if #[cfg(ossl110)] { ++ if #[cfg(any(ossl110, libressl390))] { + pub enum $t {} + } else { + #[repr(C)] diff --git a/lang/rust/patches/patch-vendor_openssl_build_rs b/lang/rust/patches/patch-vendor_openssl_build_rs new file mode 100644 index 000000000..634995fb6 --- /dev/null +++ b/lang/rust/patches/patch-vendor_openssl_build_rs @@ -0,0 +1,15 @@ +https://github.com/sfackler/rust-openssl/pull/2124 + +Index: vendor/openssl/build.rs +--- vendor/openssl/build.rs.orig ++++ vendor/openssl/build.rs +@@ -81,6 +81,9 @@ fn main() { + for var in vars.split(',') { + println!("cargo:rustc-cfg=osslconf=\"{}\"", var); + } ++ if version >= 0x3_09_00_00_0 { ++ println!("cargo:rustc-cfg=libressl390"); ++ } + } + + if let Ok(version) = env::var("DEP_OPENSSL_VERSION_NUMBER") { diff --git a/lang/rust/patches/patch-vendor_openssl_src_lib_rs b/lang/rust/patches/patch-vendor_openssl_src_lib_rs new file mode 100644 index 000000000..578b1f029 --- /dev/null +++ b/lang/rust/patches/patch-vendor_openssl_src_lib_rs @@ -0,0 +1,21 @@ +Part of https://github.com/sfackler/rust-openssl/pull/2121 + +Index: vendor/openssl/src/lib.rs +--- vendor/openssl/src/lib.rs.orig ++++ vendor/openssl/src/lib.rs +@@ -218,6 +218,15 @@ fn cvt_p_const(r: *const T) -> Result<*const T, Err + } + + #[inline] ++fn cvt_p_const(r: *const T) -> Result<*const T, ErrorStack> { ++ if r.is_null() { ++ Err(ErrorStack::get()) ++ } else { ++ Ok(r) ++ } ++} ++ ++#[inline] + fn cvt(r: c_int) -> Result { + if r <= 0 { + Err(ErrorStack::get()) diff --git a/lang/rust/pkg/PLIST-main b/lang/rust/pkg/PLIST-main index 45b1b473d..c75f0c54c 100644 --- a/lang/rust/pkg/PLIST-main +++ b/lang/rust/pkg/PLIST-main @@ -5,8 +5,337 @@ @bin bin/rustdoc @so lib/librustc_driver-${LIBRUST_HASH}11.so @so lib/libstd-${LIBRUST_HASH}15.so -@so lib/libtest-${LIBRUST_HASH}18.so lib/rustlib/ +lib/rustlib/src/rust/library/core/benches/num/int_pow/ +lib/rustlib/src/rust/library/core/benches/num/int_pow/mod.rs +lib/rustlib/src/rust/library/core/src/num/overflow_panic.rs +lib/rustlib/src/rust/library/core/src/ops/async_function.rs +lib/rustlib/src/rust/library/core/tests/async_iter/ +lib/rustlib/src/rust/library/core/tests/async_iter/mod.rs +lib/rustlib/src/rust/library/panic_abort/src/zkvm.rs +lib/rustlib/src/rust/library/std/src/os/xous/services/dns.rs +lib/rustlib/src/rust/library/std/src/os/xous/services/net.rs +lib/rustlib/src/rust/library/std/src/sys/cmath/ +lib/rustlib/src/rust/library/std/src/sys/cmath/builtins.rs +lib/rustlib/src/rust/library/std/src/sys/cmath/mod.rs +lib/rustlib/src/rust/library/std/src/sys/cmath/windows.rs +lib/rustlib/src/rust/library/std/src/sys/os_str/ +lib/rustlib/src/rust/library/std/src/sys/os_str/bytes/ +lib/rustlib/src/rust/library/std/src/sys/os_str/bytes.rs +lib/rustlib/src/rust/library/std/src/sys/os_str/bytes/tests.rs +lib/rustlib/src/rust/library/std/src/sys/os_str/mod.rs +lib/rustlib/src/rust/library/std/src/sys/os_str/wtf8.rs +lib/rustlib/src/rust/library/std/src/sys/pal/ +lib/rustlib/src/rust/library/std/src/sys/pal/common/ +lib/rustlib/src/rust/library/std/src/sys/pal/common/alloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/common/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/common/small_c_string.rs +lib/rustlib/src/rust/library/std/src/sys/pal/common/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/common/thread_local/ +lib/rustlib/src/rust/library/std/src/sys/pal/common/thread_local/fast_local.rs +lib/rustlib/src/rust/library/std/src/sys/pal/common/thread_local/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/common/thread_local/os_local.rs +lib/rustlib/src/rust/library/std/src/sys/pal/common/thread_local/static_local.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/ +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/alloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/args.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/env.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/fd.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/fs.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/futex.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/memchr.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/net.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/os.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/stdio.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/thread.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/thread_local_dtor.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/time.rs +lib/rustlib/src/rust/library/std/src/sys/pal/itron/ +lib/rustlib/src/rust/library/std/src/sys/pal/itron/abi.rs +lib/rustlib/src/rust/library/std/src/sys/pal/itron/condvar.rs +lib/rustlib/src/rust/library/std/src/sys/pal/itron/error.rs +lib/rustlib/src/rust/library/std/src/sys/pal/itron/mutex.rs +lib/rustlib/src/rust/library/std/src/sys/pal/itron/spin.rs +lib/rustlib/src/rust/library/std/src/sys/pal/itron/task.rs +lib/rustlib/src/rust/library/std/src/sys/pal/itron/thread.rs +lib/rustlib/src/rust/library/std/src/sys/pal/itron/thread_parking.rs +lib/rustlib/src/rust/library/std/src/sys/pal/itron/time/ +lib/rustlib/src/rust/library/std/src/sys/pal/itron/time.rs +lib/rustlib/src/rust/library/std/src/sys/pal/itron/time/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/ +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/ +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/entry.S +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/mem.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/panic.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/reloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/thread.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/tls/ +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/tls/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/tls/sync_bitset/ +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/tls/sync_bitset.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/tls/sync_bitset/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/usercalls/ +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/usercalls/alloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/usercalls/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/usercalls/raw.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/usercalls/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/alloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/args.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/condvar.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/env.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/fd.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/memchr.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/mutex.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/net.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/os.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/path.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/rwlock/ +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/rwlock.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/rwlock/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/stdio.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/thread.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/thread_local_key.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/thread_parking.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/time.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/waitqueue/ +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/waitqueue/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/waitqueue/spin_mutex/ +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/waitqueue/spin_mutex.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/waitqueue/spin_mutex/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/waitqueue/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/waitqueue/unsafe_list/ +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/waitqueue/unsafe_list.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/waitqueue/unsafe_list/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/ +lib/rustlib/src/rust/library/std/src/sys/pal/solid/abi/ +lib/rustlib/src/rust/library/std/src/sys/pal/solid/abi/fs.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/abi/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/abi/sockets.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/alloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/env.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/error.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/fs.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/io.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/memchr.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/net.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/os.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/path.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/rwlock.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/stdio.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/thread_local_dtor.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/thread_local_key.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/time.rs +lib/rustlib/src/rust/library/std/src/sys/pal/teeos/ +lib/rustlib/src/rust/library/std/src/sys/pal/teeos/alloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/teeos/locks/ +lib/rustlib/src/rust/library/std/src/sys/pal/teeos/locks/condvar.rs +lib/rustlib/src/rust/library/std/src/sys/pal/teeos/locks/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/teeos/locks/rwlock.rs +lib/rustlib/src/rust/library/std/src/sys/pal/teeos/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/teeos/net.rs +lib/rustlib/src/rust/library/std/src/sys/pal/teeos/os.rs +lib/rustlib/src/rust/library/std/src/sys/pal/teeos/rand.rs +lib/rustlib/src/rust/library/std/src/sys/pal/teeos/stdio.rs +lib/rustlib/src/rust/library/std/src/sys/pal/teeos/thread.rs +lib/rustlib/src/rust/library/std/src/sys/pal/teeos/thread_local_dtor.rs +lib/rustlib/src/rust/library/std/src/sys/pal/uefi/ +lib/rustlib/src/rust/library/std/src/sys/pal/uefi/alloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/uefi/args.rs +lib/rustlib/src/rust/library/std/src/sys/pal/uefi/env.rs +lib/rustlib/src/rust/library/std/src/sys/pal/uefi/helpers.rs +lib/rustlib/src/rust/library/std/src/sys/pal/uefi/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/uefi/os.rs +lib/rustlib/src/rust/library/std/src/sys/pal/uefi/path.rs +lib/rustlib/src/rust/library/std/src/sys/pal/uefi/stdio.rs +lib/rustlib/src/rust/library/std/src/sys/pal/uefi/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/ +lib/rustlib/src/rust/library/std/src/sys/pal/unix/alloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/android.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/args.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/env.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/fd/ +lib/rustlib/src/rust/library/std/src/sys/pal/unix/fd.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/fd/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/futex.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/io.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/kernel_copy/ +lib/rustlib/src/rust/library/std/src/sys/pal/unix/kernel_copy.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/kernel_copy/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/l4re.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/locks/ +lib/rustlib/src/rust/library/std/src/sys/pal/unix/locks/fuchsia_mutex.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/locks/futex_condvar.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/locks/futex_mutex.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/locks/futex_rwlock.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/locks/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/locks/pthread_condvar.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/locks/pthread_mutex.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/locks/pthread_rwlock.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/memchr.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/net.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/os/ +lib/rustlib/src/rust/library/std/src/sys/pal/unix/os.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/os/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/path.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/pipe.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/ +lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_common/ +lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_common.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_common/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_fuchsia.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_unix/ +lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_unix.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_unix/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_unsupported/ +lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_unsupported.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_unsupported/wait_status/ +lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_unsupported/wait_status.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_unsupported/wait_status/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_vxworks.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/zircon.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/rand.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/stack_overflow.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/stdio.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/thread.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/thread_local_dtor.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/thread_local_key.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/thread_parking/ +lib/rustlib/src/rust/library/std/src/sys/pal/unix/thread_parking/darwin.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/thread_parking/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/thread_parking/netbsd.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/thread_parking/pthread.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/time.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/weak.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/ +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/alloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/args.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/common.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/env.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/fs.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/io.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/locks/ +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/locks/condvar.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/locks/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/locks/mutex.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/locks/rwlock.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/net.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/once.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/os.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/pipe.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/process.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/stdio.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/thread.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/thread_local_dtor.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/thread_local_key.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/thread_parking.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/time.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasi/ +lib/rustlib/src/rust/library/std/src/sys/pal/wasi/args.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasi/env.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasi/fd.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasi/fs.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasi/io.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasi/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasi/net.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasi/os.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasi/stdio.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasi/thread.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasi/time.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasm/ +lib/rustlib/src/rust/library/std/src/sys/pal/wasm/alloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasm/atomics/ +lib/rustlib/src/rust/library/std/src/sys/pal/wasm/atomics/futex.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasm/atomics/thread.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasm/env.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasm/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/ +lib/rustlib/src/rust/library/std/src/sys/pal/windows/alloc/ +lib/rustlib/src/rust/library/std/src/sys/pal/windows/alloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/alloc/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/api.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/args/ +lib/rustlib/src/rust/library/std/src/sys/pal/windows/args.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/args/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/c/ +lib/rustlib/src/rust/library/std/src/sys/pal/windows/c.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/c/windows_sys.lst +lib/rustlib/src/rust/library/std/src/sys/pal/windows/c/windows_sys.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/compat.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/env.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/fs.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/handle/ +lib/rustlib/src/rust/library/std/src/sys/pal/windows/handle.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/handle/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/io.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/locks/ +lib/rustlib/src/rust/library/std/src/sys/pal/windows/locks/condvar.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/locks/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/locks/mutex.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/locks/rwlock.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/memchr.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/net.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/os/ +lib/rustlib/src/rust/library/std/src/sys/pal/windows/os.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/os/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/path/ +lib/rustlib/src/rust/library/std/src/sys/pal/windows/path.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/path/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/pipe.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/process/ +lib/rustlib/src/rust/library/std/src/sys/pal/windows/process.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/process/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/rand.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/stack_overflow.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/stack_overflow_uwp.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/stdio/ +lib/rustlib/src/rust/library/std/src/sys/pal/windows/stdio.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/stdio/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/thread.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/thread_local_dtor.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/thread_local_key/ +lib/rustlib/src/rust/library/std/src/sys/pal/windows/thread_local_key.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/thread_local_key/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/thread_parking.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/time.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/ +lib/rustlib/src/rust/library/std/src/sys/pal/xous/alloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/locks/ +lib/rustlib/src/rust/library/std/src/sys/pal/xous/locks/condvar.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/locks/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/locks/mutex.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/locks/rwlock.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/net/ +lib/rustlib/src/rust/library/std/src/sys/pal/xous/net/dns.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/net/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/net/tcplistener.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/net/tcpstream.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/net/udp.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/os.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/stdio.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/thread.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/thread_local_key.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/thread_parking.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/time.rs +lib/rustlib/src/rust/library/std/src/sys/pal/zkvm/ +lib/rustlib/src/rust/library/std/src/sys/pal/zkvm/abi.rs +lib/rustlib/src/rust/library/std/src/sys/pal/zkvm/alloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/zkvm/args.rs +lib/rustlib/src/rust/library/std/src/sys/pal/zkvm/env.rs +lib/rustlib/src/rust/library/std/src/sys/pal/zkvm/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/zkvm/os.rs +lib/rustlib/src/rust/library/std/src/sys/pal/zkvm/stdio.rs +lib/rustlib/src/rust/library/std/src/sys/pal/zkvm/thread_local_key.rs lib/rustlib/${TRIPLE_ARCH}/ lib/rustlib/${TRIPLE_ARCH}/lib/ lib/rustlib/${TRIPLE_ARCH}/lib/libaddr2line-${LIBRUST_HASH}00.rlib @@ -34,7 +363,6 @@ lib/rustlib/${TRIPLE_ARCH}/lib/libstd-${LIBRUST_HASH}15.rlib lib/rustlib/${TRIPLE_ARCH}/lib/libstd_detect-${LIBRUST_HASH}16.rlib lib/rustlib/${TRIPLE_ARCH}/lib/libsysroot-${LIBRUST_HASH}17.rlib lib/rustlib/${TRIPLE_ARCH}/lib/libtest-${LIBRUST_HASH}18.rlib -@so lib/rustlib/${TRIPLE_ARCH}/lib/libtest-${LIBRUST_HASH}18.so lib/rustlib/${TRIPLE_ARCH}/lib/libunicode_width-${LIBRUST_HASH}19.rlib lib/rustlib/${TRIPLE_ARCH}/lib/libunwind-${LIBRUST_HASH}1a.rlib @man man/man1/cargo-add.1 diff --git a/lang/rust/pkg/PLIST-src b/lang/rust/pkg/PLIST-src index fb8022f5d..3af51a27d 100644 --- a/lang/rust/pkg/PLIST-src +++ b/lang/rust/pkg/PLIST-src @@ -136,8 +136,15 @@ lib/rustlib/src/rust/library/alloc/tests/vec.rs lib/rustlib/src/rust/library/alloc/tests/vec_deque.rs lib/rustlib/src/rust/library/backtrace/ lib/rustlib/src/rust/library/backtrace/.github/ +lib/rustlib/src/rust/library/backtrace/.github/actions/ +lib/rustlib/src/rust/library/backtrace/.github/actions/build-with-patched-std/ +lib/rustlib/src/rust/library/backtrace/.github/actions/build-with-patched-std/action.yml +lib/rustlib/src/rust/library/backtrace/.github/actions/report-code-size-changes/ +lib/rustlib/src/rust/library/backtrace/.github/actions/report-code-size-changes/action.yml lib/rustlib/src/rust/library/backtrace/.github/workflows/ +lib/rustlib/src/rust/library/backtrace/.github/workflows/check-binary-size.yml lib/rustlib/src/rust/library/backtrace/.github/workflows/main.yml +lib/rustlib/src/rust/library/backtrace/Cargo.lock lib/rustlib/src/rust/library/backtrace/Cargo.toml lib/rustlib/src/rust/library/backtrace/LICENSE-APACHE lib/rustlib/src/rust/library/backtrace/LICENSE-MIT @@ -188,7 +195,6 @@ lib/rustlib/src/rust/library/backtrace/examples/ lib/rustlib/src/rust/library/backtrace/examples/backtrace.rs lib/rustlib/src/rust/library/backtrace/examples/raw.rs lib/rustlib/src/rust/library/backtrace/src/ -lib/rustlib/src/rust/library/backtrace/src/android-api.c lib/rustlib/src/rust/library/backtrace/src/backtrace/ lib/rustlib/src/rust/library/backtrace/src/backtrace/dbghelp.rs lib/rustlib/src/rust/library/backtrace/src/backtrace/libunwind.rs @@ -207,6 +213,7 @@ lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/ lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli.rs lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/coff.rs lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/elf.rs +lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/libs_aix.rs lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/libs_dl_iterate_phdr.rs lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/libs_haiku.rs lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/libs_illumos.rs @@ -219,6 +226,7 @@ lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/mmap_unix.rs lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/mmap_windows.rs lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/parse_running_mmaps_unix.rs lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/stash.rs +lib/rustlib/src/rust/library/backtrace/src/symbolize/gimli/xcoff.rs lib/rustlib/src/rust/library/backtrace/src/symbolize/miri.rs lib/rustlib/src/rust/library/backtrace/src/symbolize/mod.rs lib/rustlib/src/rust/library/backtrace/src/symbolize/noop.rs @@ -233,6 +241,7 @@ lib/rustlib/src/rust/library/backtrace/tests/common/mod.rs lib/rustlib/src/rust/library/backtrace/tests/concurrent-panics.rs lib/rustlib/src/rust/library/backtrace/tests/current-exe-mismatch.rs lib/rustlib/src/rust/library/backtrace/tests/long_fn_name.rs +lib/rustlib/src/rust/library/backtrace/tests/sgx-image-base.rs lib/rustlib/src/rust/library/backtrace/tests/skip_inner_frames.rs lib/rustlib/src/rust/library/backtrace/tests/smoke.rs lib/rustlib/src/rust/library/core/ @@ -262,6 +271,7 @@ lib/rustlib/src/rust/library/core/benches/num/flt2dec/strategy/dragon.rs lib/rustlib/src/rust/library/core/benches/num/flt2dec/strategy/grisu.rs lib/rustlib/src/rust/library/core/benches/num/int_log/ lib/rustlib/src/rust/library/core/benches/num/int_log/mod.rs +lib/rustlib/src/rust/library/core/benches/num/int_pow/mod.rs lib/rustlib/src/rust/library/core/benches/num/mod.rs lib/rustlib/src/rust/library/core/benches/ops.rs lib/rustlib/src/rust/library/core/benches/pattern.rs @@ -270,17 +280,8 @@ lib/rustlib/src/rust/library/core/benches/str/ lib/rustlib/src/rust/library/core/benches/str.rs lib/rustlib/src/rust/library/core/benches/str/char_count.rs lib/rustlib/src/rust/library/core/benches/str/corpora.rs +lib/rustlib/src/rust/library/core/benches/str/iter.rs lib/rustlib/src/rust/library/core/benches/tuple.rs -lib/rustlib/src/rust/library/core/primitive_docs/ -lib/rustlib/src/rust/library/core/primitive_docs/box_into_raw.md -lib/rustlib/src/rust/library/core/primitive_docs/fs_file.md -lib/rustlib/src/rust/library/core/primitive_docs/io_bufread.md -lib/rustlib/src/rust/library/core/primitive_docs/io_read.md -lib/rustlib/src/rust/library/core/primitive_docs/io_seek.md -lib/rustlib/src/rust/library/core/primitive_docs/io_write.md -lib/rustlib/src/rust/library/core/primitive_docs/net_tosocketaddrs.md -lib/rustlib/src/rust/library/core/primitive_docs/process_exit.md -lib/rustlib/src/rust/library/core/primitive_docs/string_string.md lib/rustlib/src/rust/library/core/src/ lib/rustlib/src/rust/library/core/src/alloc/ lib/rustlib/src/rust/library/core/src/alloc/global.rs @@ -364,6 +365,10 @@ lib/rustlib/src/rust/library/core/src/internal_macros.rs lib/rustlib/src/rust/library/core/src/intrinsics/ lib/rustlib/src/rust/library/core/src/intrinsics.rs lib/rustlib/src/rust/library/core/src/intrinsics/mir.rs +lib/rustlib/src/rust/library/core/src/intrinsics/simd.rs +lib/rustlib/src/rust/library/core/src/io/ +lib/rustlib/src/rust/library/core/src/io/borrowed_buf.rs +lib/rustlib/src/rust/library/core/src/io/mod.rs lib/rustlib/src/rust/library/core/src/iter/ lib/rustlib/src/rust/library/core/src/iter/adapters/ lib/rustlib/src/rust/library/core/src/iter/adapters/array_chunks.rs @@ -397,8 +402,8 @@ lib/rustlib/src/rust/library/core/src/iter/range.rs lib/rustlib/src/rust/library/core/src/iter/sources/ lib/rustlib/src/rust/library/core/src/iter/sources.rs lib/rustlib/src/rust/library/core/src/iter/sources/empty.rs +lib/rustlib/src/rust/library/core/src/iter/sources/from_coroutine.rs lib/rustlib/src/rust/library/core/src/iter/sources/from_fn.rs -lib/rustlib/src/rust/library/core/src/iter/sources/from_generator.rs lib/rustlib/src/rust/library/core/src/iter/sources/once.rs lib/rustlib/src/rust/library/core/src/iter/sources/once_with.rs lib/rustlib/src/rust/library/core/src/iter/sources/repeat.rs @@ -459,6 +464,7 @@ lib/rustlib/src/rust/library/core/src/num/int_log10.rs lib/rustlib/src/rust/library/core/src/num/int_macros.rs lib/rustlib/src/rust/library/core/src/num/mod.rs lib/rustlib/src/rust/library/core/src/num/nonzero.rs +lib/rustlib/src/rust/library/core/src/num/overflow_panic.rs lib/rustlib/src/rust/library/core/src/num/saturating.rs lib/rustlib/src/rust/library/core/src/num/shells/ lib/rustlib/src/rust/library/core/src/num/shells/i128.rs @@ -478,12 +484,13 @@ lib/rustlib/src/rust/library/core/src/num/uint_macros.rs lib/rustlib/src/rust/library/core/src/num/wrapping.rs lib/rustlib/src/rust/library/core/src/ops/ lib/rustlib/src/rust/library/core/src/ops/arith.rs +lib/rustlib/src/rust/library/core/src/ops/async_function.rs lib/rustlib/src/rust/library/core/src/ops/bit.rs lib/rustlib/src/rust/library/core/src/ops/control_flow.rs +lib/rustlib/src/rust/library/core/src/ops/coroutine.rs lib/rustlib/src/rust/library/core/src/ops/deref.rs lib/rustlib/src/rust/library/core/src/ops/drop.rs lib/rustlib/src/rust/library/core/src/ops/function.rs -lib/rustlib/src/rust/library/core/src/ops/generator.rs lib/rustlib/src/rust/library/core/src/ops/index.rs lib/rustlib/src/rust/library/core/src/ops/index_range.rs lib/rustlib/src/rust/library/core/src/ops/mod.rs @@ -559,6 +566,7 @@ lib/rustlib/src/rust/library/core/tests/any.rs lib/rustlib/src/rust/library/core/tests/array.rs lib/rustlib/src/rust/library/core/tests/ascii.rs lib/rustlib/src/rust/library/core/tests/asserting.rs +lib/rustlib/src/rust/library/core/tests/async_iter/mod.rs lib/rustlib/src/rust/library/core/tests/atomic.rs lib/rustlib/src/rust/library/core/tests/bool.rs lib/rustlib/src/rust/library/core/tests/cell.rs @@ -578,6 +586,9 @@ lib/rustlib/src/rust/library/core/tests/hash/ lib/rustlib/src/rust/library/core/tests/hash/mod.rs lib/rustlib/src/rust/library/core/tests/hash/sip.rs lib/rustlib/src/rust/library/core/tests/intrinsics.rs +lib/rustlib/src/rust/library/core/tests/io/ +lib/rustlib/src/rust/library/core/tests/io/borrowed_buf.rs +lib/rustlib/src/rust/library/core/tests/io/mod.rs lib/rustlib/src/rust/library/core/tests/iter/ lib/rustlib/src/rust/library/core/tests/iter/adapters/ lib/rustlib/src/rust/library/core/tests/iter/adapters/array_chunks.rs @@ -684,6 +695,7 @@ lib/rustlib/src/rust/library/panic_abort/Cargo.toml lib/rustlib/src/rust/library/panic_abort/src/ lib/rustlib/src/rust/library/panic_abort/src/android.rs lib/rustlib/src/rust/library/panic_abort/src/lib.rs +lib/rustlib/src/rust/library/panic_abort/src/zkvm.rs lib/rustlib/src/rust/library/panic_unwind/ lib/rustlib/src/rust/library/panic_unwind/Cargo.toml lib/rustlib/src/rust/library/panic_unwind/src/ @@ -706,6 +718,7 @@ lib/rustlib/src/rust/library/portable-simd/.github/workflows/ lib/rustlib/src/rust/library/portable-simd/.github/workflows/ci.yml lib/rustlib/src/rust/library/portable-simd/.github/workflows/doc.yml lib/rustlib/src/rust/library/portable-simd/CONTRIBUTING.md +lib/rustlib/src/rust/library/portable-simd/Cargo.lock lib/rustlib/src/rust/library/portable-simd/Cargo.toml lib/rustlib/src/rust/library/portable-simd/LICENSE-APACHE lib/rustlib/src/rust/library/portable-simd/LICENSE-MIT @@ -726,14 +739,6 @@ lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/ lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/alias.rs lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/cast.rs lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/core_simd_docs.md -lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/elements/ -lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/elements.rs -lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/elements/const_ptr.rs -lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/elements/float.rs -lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/elements/int.rs -lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/elements/mut_ptr.rs -lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/elements/uint.rs -lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/eq.rs lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/fmt.rs lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/intrinsics.rs lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/iter.rs @@ -743,17 +748,29 @@ lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/masks/ lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/masks.rs lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/masks/bitmask.rs lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/masks/full_masks.rs -lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/masks/to_bitmask.rs lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/mod.rs lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/ops/ lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/ops.rs lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/ops/assign.rs lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/ops/deref.rs +lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/ops/shift_scalar.rs lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/ops/unary.rs -lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/ord.rs lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/select.rs lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/simd/ +lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/simd/cmp/ +lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/simd/cmp.rs +lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/simd/cmp/eq.rs +lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/simd/cmp/ord.rs +lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/simd/num/ +lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/simd/num.rs +lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/simd/num/float.rs +lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/simd/num/int.rs +lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/simd/num/uint.rs lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/simd/prelude.rs +lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/simd/ptr/ +lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/simd/ptr.rs +lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/simd/ptr/const_ptr.rs +lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/simd/ptr/mut_ptr.rs lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/swizzle.rs lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/swizzle_dyn.rs lib/rustlib/src/rust/library/portable-simd/crates/core_simd/src/to_bytes.rs @@ -807,6 +824,7 @@ lib/rustlib/src/rust/library/portable-simd/crates/test_helpers/src/ lib/rustlib/src/rust/library/portable-simd/crates/test_helpers/src/array.rs lib/rustlib/src/rust/library/portable-simd/crates/test_helpers/src/biteq.rs lib/rustlib/src/rust/library/portable-simd/crates/test_helpers/src/lib.rs +lib/rustlib/src/rust/library/portable-simd/crates/test_helpers/src/subnormals.rs lib/rustlib/src/rust/library/portable-simd/crates/test_helpers/src/wasm.rs lib/rustlib/src/rust/library/proc_macro/ lib/rustlib/src/rust/library/proc_macro/Cargo.toml @@ -855,16 +873,6 @@ lib/rustlib/src/rust/library/std/benches/hash/mod.rs lib/rustlib/src/rust/library/std/benches/hash/set_ops.rs lib/rustlib/src/rust/library/std/benches/lib.rs lib/rustlib/src/rust/library/std/build.rs -lib/rustlib/src/rust/library/std/primitive_docs/ -lib/rustlib/src/rust/library/std/primitive_docs/box_into_raw.md -lib/rustlib/src/rust/library/std/primitive_docs/fs_file.md -lib/rustlib/src/rust/library/std/primitive_docs/io_bufread.md -lib/rustlib/src/rust/library/std/primitive_docs/io_read.md -lib/rustlib/src/rust/library/std/primitive_docs/io_seek.md -lib/rustlib/src/rust/library/std/primitive_docs/io_write.md -lib/rustlib/src/rust/library/std/primitive_docs/net_tosocketaddrs.md -lib/rustlib/src/rust/library/std/primitive_docs/process_exit.md -lib/rustlib/src/rust/library/std/primitive_docs/string_string.md lib/rustlib/src/rust/library/std/src/ lib/rustlib/src/rust/library/std/src/alloc.rs lib/rustlib/src/rust/library/std/src/ascii.rs @@ -901,6 +909,9 @@ lib/rustlib/src/rust/library/std/src/ffi/os_str/tests.rs lib/rustlib/src/rust/library/std/src/fs/ lib/rustlib/src/rust/library/std/src/fs.rs lib/rustlib/src/rust/library/std/src/fs/tests.rs +lib/rustlib/src/rust/library/std/src/hash/ +lib/rustlib/src/rust/library/std/src/hash/mod.rs +lib/rustlib/src/rust/library/std/src/hash/random.rs lib/rustlib/src/rust/library/std/src/io/ lib/rustlib/src/rust/library/std/src/io/buffered/ lib/rustlib/src/rust/library/std/src/io/buffered/bufreader/ @@ -927,9 +938,6 @@ lib/rustlib/src/rust/library/std/src/io/impls.rs lib/rustlib/src/rust/library/std/src/io/impls/tests.rs lib/rustlib/src/rust/library/std/src/io/mod.rs lib/rustlib/src/rust/library/std/src/io/prelude.rs -lib/rustlib/src/rust/library/std/src/io/readbuf/ -lib/rustlib/src/rust/library/std/src/io/readbuf.rs -lib/rustlib/src/rust/library/std/src/io/readbuf/tests.rs lib/rustlib/src/rust/library/std/src/io/stdio/ lib/rustlib/src/rust/library/std/src/io/stdio.rs lib/rustlib/src/rust/library/std/src/io/stdio/tests.rs @@ -957,9 +965,12 @@ lib/rustlib/src/rust/library/std/src/net/udp.rs lib/rustlib/src/rust/library/std/src/net/udp/tests.rs lib/rustlib/src/rust/library/std/src/num/ lib/rustlib/src/rust/library/std/src/num.rs -lib/rustlib/src/rust/library/std/src/num/benches.rs lib/rustlib/src/rust/library/std/src/num/tests.rs lib/rustlib/src/rust/library/std/src/os/ +lib/rustlib/src/rust/library/std/src/os/aix/ +lib/rustlib/src/rust/library/std/src/os/aix/fs.rs +lib/rustlib/src/rust/library/std/src/os/aix/mod.rs +lib/rustlib/src/rust/library/std/src/os/aix/raw.rs lib/rustlib/src/rust/library/std/src/os/android/ lib/rustlib/src/rust/library/std/src/os/android/fs.rs lib/rustlib/src/rust/library/std/src/os/android/mod.rs @@ -1010,6 +1021,10 @@ lib/rustlib/src/rust/library/std/src/os/horizon/ lib/rustlib/src/rust/library/std/src/os/horizon/fs.rs lib/rustlib/src/rust/library/std/src/os/horizon/mod.rs lib/rustlib/src/rust/library/std/src/os/horizon/raw.rs +lib/rustlib/src/rust/library/std/src/os/hurd/ +lib/rustlib/src/rust/library/std/src/os/hurd/fs.rs +lib/rustlib/src/rust/library/std/src/os/hurd/mod.rs +lib/rustlib/src/rust/library/std/src/os/hurd/raw.rs lib/rustlib/src/rust/library/std/src/os/illumos/ lib/rustlib/src/rust/library/std/src/os/illumos/fs.rs lib/rustlib/src/rust/library/std/src/os/illumos/mod.rs @@ -1067,6 +1082,9 @@ lib/rustlib/src/rust/library/std/src/os/solid/ lib/rustlib/src/rust/library/std/src/os/solid/ffi.rs lib/rustlib/src/rust/library/std/src/os/solid/io.rs lib/rustlib/src/rust/library/std/src/os/solid/mod.rs +lib/rustlib/src/rust/library/std/src/os/uefi/ +lib/rustlib/src/rust/library/std/src/os/uefi/env.rs +lib/rustlib/src/rust/library/std/src/os/uefi/mod.rs lib/rustlib/src/rust/library/std/src/os/unix/ lib/rustlib/src/rust/library/std/src/os/unix/ffi/ lib/rustlib/src/rust/library/std/src/os/unix/ffi/mod.rs @@ -1129,6 +1147,20 @@ lib/rustlib/src/rust/library/std/src/os/windows/mod.rs lib/rustlib/src/rust/library/std/src/os/windows/process.rs lib/rustlib/src/rust/library/std/src/os/windows/raw.rs lib/rustlib/src/rust/library/std/src/os/windows/thread.rs +lib/rustlib/src/rust/library/std/src/os/xous/ +lib/rustlib/src/rust/library/std/src/os/xous/ffi/ +lib/rustlib/src/rust/library/std/src/os/xous/ffi.rs +lib/rustlib/src/rust/library/std/src/os/xous/ffi/definitions/ +lib/rustlib/src/rust/library/std/src/os/xous/ffi/definitions.rs +lib/rustlib/src/rust/library/std/src/os/xous/ffi/definitions/memoryflags.rs +lib/rustlib/src/rust/library/std/src/os/xous/mod.rs +lib/rustlib/src/rust/library/std/src/os/xous/services/ +lib/rustlib/src/rust/library/std/src/os/xous/services.rs +lib/rustlib/src/rust/library/std/src/os/xous/services/dns.rs +lib/rustlib/src/rust/library/std/src/os/xous/services/log.rs +lib/rustlib/src/rust/library/std/src/os/xous/services/net.rs +lib/rustlib/src/rust/library/std/src/os/xous/services/systime.rs +lib/rustlib/src/rust/library/std/src/os/xous/services/ticktimer.rs lib/rustlib/src/rust/library/std/src/panic/ lib/rustlib/src/rust/library/std/src/panic.rs lib/rustlib/src/rust/library/std/src/panic/tests.rs @@ -1139,7 +1171,6 @@ lib/rustlib/src/rust/library/std/src/path/tests.rs lib/rustlib/src/rust/library/std/src/prelude/ lib/rustlib/src/rust/library/std/src/prelude/mod.rs lib/rustlib/src/rust/library/std/src/prelude/v1.rs -lib/rustlib/src/rust/library/std/src/primitive_docs.rs lib/rustlib/src/rust/library/std/src/process/ lib/rustlib/src/rust/library/std/src/process.rs lib/rustlib/src/rust/library/std/src/process/tests.rs @@ -1187,44 +1218,274 @@ lib/rustlib/src/rust/library/std/src/sync/rwlock/ lib/rustlib/src/rust/library/std/src/sync/rwlock.rs lib/rustlib/src/rust/library/std/src/sync/rwlock/tests.rs lib/rustlib/src/rust/library/std/src/sys/ -lib/rustlib/src/rust/library/std/src/sys/common/ -lib/rustlib/src/rust/library/std/src/sys/common/alloc.rs -lib/rustlib/src/rust/library/std/src/sys/common/mod.rs -lib/rustlib/src/rust/library/std/src/sys/common/small_c_string.rs -lib/rustlib/src/rust/library/std/src/sys/common/tests.rs -lib/rustlib/src/rust/library/std/src/sys/common/thread_local/ -lib/rustlib/src/rust/library/std/src/sys/common/thread_local/fast_local.rs -lib/rustlib/src/rust/library/std/src/sys/common/thread_local/mod.rs -lib/rustlib/src/rust/library/std/src/sys/common/thread_local/os_local.rs -lib/rustlib/src/rust/library/std/src/sys/common/thread_local/static_local.rs -lib/rustlib/src/rust/library/std/src/sys/hermit/ -lib/rustlib/src/rust/library/std/src/sys/hermit/alloc.rs -lib/rustlib/src/rust/library/std/src/sys/hermit/args.rs -lib/rustlib/src/rust/library/std/src/sys/hermit/env.rs -lib/rustlib/src/rust/library/std/src/sys/hermit/fd.rs -lib/rustlib/src/rust/library/std/src/sys/hermit/fs.rs -lib/rustlib/src/rust/library/std/src/sys/hermit/futex.rs -lib/rustlib/src/rust/library/std/src/sys/hermit/memchr.rs -lib/rustlib/src/rust/library/std/src/sys/hermit/mod.rs -lib/rustlib/src/rust/library/std/src/sys/hermit/net.rs -lib/rustlib/src/rust/library/std/src/sys/hermit/os.rs -lib/rustlib/src/rust/library/std/src/sys/hermit/stdio.rs -lib/rustlib/src/rust/library/std/src/sys/hermit/thread.rs -lib/rustlib/src/rust/library/std/src/sys/hermit/thread_local_dtor.rs -lib/rustlib/src/rust/library/std/src/sys/hermit/time.rs -lib/rustlib/src/rust/library/std/src/sys/itron/ -lib/rustlib/src/rust/library/std/src/sys/itron/abi.rs -lib/rustlib/src/rust/library/std/src/sys/itron/condvar.rs -lib/rustlib/src/rust/library/std/src/sys/itron/error.rs -lib/rustlib/src/rust/library/std/src/sys/itron/mutex.rs -lib/rustlib/src/rust/library/std/src/sys/itron/spin.rs -lib/rustlib/src/rust/library/std/src/sys/itron/task.rs -lib/rustlib/src/rust/library/std/src/sys/itron/thread.rs -lib/rustlib/src/rust/library/std/src/sys/itron/thread_parking.rs -lib/rustlib/src/rust/library/std/src/sys/itron/time/ -lib/rustlib/src/rust/library/std/src/sys/itron/time.rs -lib/rustlib/src/rust/library/std/src/sys/itron/time/tests.rs +lib/rustlib/src/rust/library/std/src/sys/cmath/builtins.rs +lib/rustlib/src/rust/library/std/src/sys/cmath/mod.rs +lib/rustlib/src/rust/library/std/src/sys/cmath/windows.rs lib/rustlib/src/rust/library/std/src/sys/mod.rs +lib/rustlib/src/rust/library/std/src/sys/os_str/bytes.rs +lib/rustlib/src/rust/library/std/src/sys/os_str/bytes/tests.rs +lib/rustlib/src/rust/library/std/src/sys/os_str/mod.rs +lib/rustlib/src/rust/library/std/src/sys/os_str/wtf8.rs +lib/rustlib/src/rust/library/std/src/sys/pal/common/alloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/common/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/common/small_c_string.rs +lib/rustlib/src/rust/library/std/src/sys/pal/common/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/common/thread_local/fast_local.rs +lib/rustlib/src/rust/library/std/src/sys/pal/common/thread_local/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/common/thread_local/os_local.rs +lib/rustlib/src/rust/library/std/src/sys/pal/common/thread_local/static_local.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/alloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/args.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/env.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/fd.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/fs.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/futex.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/memchr.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/net.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/os.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/stdio.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/thread.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/thread_local_dtor.rs +lib/rustlib/src/rust/library/std/src/sys/pal/hermit/time.rs +lib/rustlib/src/rust/library/std/src/sys/pal/itron/abi.rs +lib/rustlib/src/rust/library/std/src/sys/pal/itron/condvar.rs +lib/rustlib/src/rust/library/std/src/sys/pal/itron/error.rs +lib/rustlib/src/rust/library/std/src/sys/pal/itron/mutex.rs +lib/rustlib/src/rust/library/std/src/sys/pal/itron/spin.rs +lib/rustlib/src/rust/library/std/src/sys/pal/itron/task.rs +lib/rustlib/src/rust/library/std/src/sys/pal/itron/thread.rs +lib/rustlib/src/rust/library/std/src/sys/pal/itron/thread_parking.rs +lib/rustlib/src/rust/library/std/src/sys/pal/itron/time.rs +lib/rustlib/src/rust/library/std/src/sys/pal/itron/time/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/entry.S +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/mem.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/panic.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/reloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/thread.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/tls/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/tls/sync_bitset.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/tls/sync_bitset/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/usercalls/alloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/usercalls/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/usercalls/raw.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/abi/usercalls/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/alloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/args.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/condvar.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/env.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/fd.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/memchr.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/mutex.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/net.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/os.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/path.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/rwlock.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/rwlock/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/stdio.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/thread.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/thread_local_key.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/thread_parking.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/time.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/waitqueue/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/waitqueue/spin_mutex.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/waitqueue/spin_mutex/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/waitqueue/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/waitqueue/unsafe_list.rs +lib/rustlib/src/rust/library/std/src/sys/pal/sgx/waitqueue/unsafe_list/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/abi/fs.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/abi/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/abi/sockets.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/alloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/env.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/error.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/fs.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/io.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/memchr.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/net.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/os.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/path.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/rwlock.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/stdio.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/thread_local_dtor.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/thread_local_key.rs +lib/rustlib/src/rust/library/std/src/sys/pal/solid/time.rs +lib/rustlib/src/rust/library/std/src/sys/pal/teeos/alloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/teeos/locks/condvar.rs +lib/rustlib/src/rust/library/std/src/sys/pal/teeos/locks/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/teeos/locks/rwlock.rs +lib/rustlib/src/rust/library/std/src/sys/pal/teeos/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/teeos/net.rs +lib/rustlib/src/rust/library/std/src/sys/pal/teeos/os.rs +lib/rustlib/src/rust/library/std/src/sys/pal/teeos/rand.rs +lib/rustlib/src/rust/library/std/src/sys/pal/teeos/stdio.rs +lib/rustlib/src/rust/library/std/src/sys/pal/teeos/thread.rs +lib/rustlib/src/rust/library/std/src/sys/pal/teeos/thread_local_dtor.rs +lib/rustlib/src/rust/library/std/src/sys/pal/uefi/alloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/uefi/args.rs +lib/rustlib/src/rust/library/std/src/sys/pal/uefi/env.rs +lib/rustlib/src/rust/library/std/src/sys/pal/uefi/helpers.rs +lib/rustlib/src/rust/library/std/src/sys/pal/uefi/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/uefi/os.rs +lib/rustlib/src/rust/library/std/src/sys/pal/uefi/path.rs +lib/rustlib/src/rust/library/std/src/sys/pal/uefi/stdio.rs +lib/rustlib/src/rust/library/std/src/sys/pal/uefi/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/alloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/android.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/args.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/env.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/fd.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/fd/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/fs.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/futex.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/io.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/kernel_copy.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/kernel_copy/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/l4re.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/locks/fuchsia_mutex.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/locks/futex_condvar.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/locks/futex_mutex.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/locks/futex_rwlock.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/locks/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/locks/pthread_condvar.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/locks/pthread_mutex.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/locks/pthread_rwlock.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/memchr.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/net.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/os.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/os/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/path.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/pipe.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_common.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_common/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_fuchsia.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_unix.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_unix/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_unsupported.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_unsupported/wait_status.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_unsupported/wait_status/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/process_vxworks.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/process/zircon.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/rand.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/stack_overflow.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/stdio.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/thread.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/thread_local_dtor.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/thread_local_key.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/thread_parking/darwin.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/thread_parking/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/thread_parking/netbsd.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/thread_parking/pthread.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/time.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unix/weak.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/alloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/args.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/common.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/env.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/fs.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/io.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/locks/condvar.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/locks/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/locks/mutex.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/locks/rwlock.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/net.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/once.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/os.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/pipe.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/process.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/stdio.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/thread.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/thread_local_dtor.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/thread_local_key.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/thread_parking.rs +lib/rustlib/src/rust/library/std/src/sys/pal/unsupported/time.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasi/args.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasi/env.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasi/fd.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasi/fs.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasi/io.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasi/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasi/net.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasi/os.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasi/stdio.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasi/thread.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasi/time.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasm/alloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasm/atomics/futex.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasm/atomics/thread.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasm/env.rs +lib/rustlib/src/rust/library/std/src/sys/pal/wasm/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/alloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/alloc/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/api.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/args.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/args/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/c.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/c/windows_sys.lst +lib/rustlib/src/rust/library/std/src/sys/pal/windows/c/windows_sys.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/compat.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/env.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/fs.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/handle.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/handle/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/io.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/locks/condvar.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/locks/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/locks/mutex.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/locks/rwlock.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/memchr.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/net.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/os.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/os/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/path.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/path/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/pipe.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/process.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/process/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/rand.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/stack_overflow.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/stack_overflow_uwp.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/stdio.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/stdio/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/thread.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/thread_local_dtor.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/thread_local_key.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/thread_local_key/tests.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/thread_parking.rs +lib/rustlib/src/rust/library/std/src/sys/pal/windows/time.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/alloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/locks/condvar.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/locks/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/locks/mutex.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/locks/rwlock.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/net/dns.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/net/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/net/tcplistener.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/net/tcpstream.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/net/udp.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/os.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/stdio.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/thread.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/thread_local_key.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/thread_parking.rs +lib/rustlib/src/rust/library/std/src/sys/pal/xous/time.rs +lib/rustlib/src/rust/library/std/src/sys/pal/zkvm/abi.rs +lib/rustlib/src/rust/library/std/src/sys/pal/zkvm/alloc.rs +lib/rustlib/src/rust/library/std/src/sys/pal/zkvm/args.rs +lib/rustlib/src/rust/library/std/src/sys/pal/zkvm/env.rs +lib/rustlib/src/rust/library/std/src/sys/pal/zkvm/mod.rs +lib/rustlib/src/rust/library/std/src/sys/pal/zkvm/os.rs +lib/rustlib/src/rust/library/std/src/sys/pal/zkvm/stdio.rs +lib/rustlib/src/rust/library/std/src/sys/pal/zkvm/thread_local_key.rs lib/rustlib/src/rust/library/std/src/sys/personality/ lib/rustlib/src/rust/library/std/src/sys/personality/dwarf/ lib/rustlib/src/rust/library/std/src/sys/personality/dwarf/eh.rs @@ -1233,227 +1494,6 @@ lib/rustlib/src/rust/library/std/src/sys/personality/dwarf/tests.rs lib/rustlib/src/rust/library/std/src/sys/personality/emcc.rs lib/rustlib/src/rust/library/std/src/sys/personality/gcc.rs lib/rustlib/src/rust/library/std/src/sys/personality/mod.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/ -lib/rustlib/src/rust/library/std/src/sys/sgx/abi/ -lib/rustlib/src/rust/library/std/src/sys/sgx/abi/entry.S -lib/rustlib/src/rust/library/std/src/sys/sgx/abi/mem.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/abi/mod.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/abi/panic.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/abi/reloc.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/abi/thread.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/abi/tls/ -lib/rustlib/src/rust/library/std/src/sys/sgx/abi/tls/mod.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/abi/tls/sync_bitset/ -lib/rustlib/src/rust/library/std/src/sys/sgx/abi/tls/sync_bitset.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/abi/tls/sync_bitset/tests.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/abi/usercalls/ -lib/rustlib/src/rust/library/std/src/sys/sgx/abi/usercalls/alloc.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/abi/usercalls/mod.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/abi/usercalls/raw.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/abi/usercalls/tests.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/alloc.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/args.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/condvar.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/env.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/fd.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/memchr.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/mod.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/mutex.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/net.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/os.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/path.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/rwlock/ -lib/rustlib/src/rust/library/std/src/sys/sgx/rwlock.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/rwlock/tests.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/stdio.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/thread.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/thread_local_key.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/thread_parking.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/time.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/waitqueue/ -lib/rustlib/src/rust/library/std/src/sys/sgx/waitqueue/mod.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/waitqueue/spin_mutex/ -lib/rustlib/src/rust/library/std/src/sys/sgx/waitqueue/spin_mutex.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/waitqueue/spin_mutex/tests.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/waitqueue/tests.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/waitqueue/unsafe_list/ -lib/rustlib/src/rust/library/std/src/sys/sgx/waitqueue/unsafe_list.rs -lib/rustlib/src/rust/library/std/src/sys/sgx/waitqueue/unsafe_list/tests.rs -lib/rustlib/src/rust/library/std/src/sys/solid/ -lib/rustlib/src/rust/library/std/src/sys/solid/abi/ -lib/rustlib/src/rust/library/std/src/sys/solid/abi/fs.rs -lib/rustlib/src/rust/library/std/src/sys/solid/abi/mod.rs -lib/rustlib/src/rust/library/std/src/sys/solid/abi/sockets.rs -lib/rustlib/src/rust/library/std/src/sys/solid/alloc.rs -lib/rustlib/src/rust/library/std/src/sys/solid/env.rs -lib/rustlib/src/rust/library/std/src/sys/solid/error.rs -lib/rustlib/src/rust/library/std/src/sys/solid/fs.rs -lib/rustlib/src/rust/library/std/src/sys/solid/io.rs -lib/rustlib/src/rust/library/std/src/sys/solid/memchr.rs -lib/rustlib/src/rust/library/std/src/sys/solid/mod.rs -lib/rustlib/src/rust/library/std/src/sys/solid/net.rs -lib/rustlib/src/rust/library/std/src/sys/solid/os.rs -lib/rustlib/src/rust/library/std/src/sys/solid/path.rs -lib/rustlib/src/rust/library/std/src/sys/solid/rwlock.rs -lib/rustlib/src/rust/library/std/src/sys/solid/stdio.rs -lib/rustlib/src/rust/library/std/src/sys/solid/thread_local_dtor.rs -lib/rustlib/src/rust/library/std/src/sys/solid/thread_local_key.rs -lib/rustlib/src/rust/library/std/src/sys/solid/time.rs -lib/rustlib/src/rust/library/std/src/sys/unix/ -lib/rustlib/src/rust/library/std/src/sys/unix/alloc.rs -lib/rustlib/src/rust/library/std/src/sys/unix/android.rs -lib/rustlib/src/rust/library/std/src/sys/unix/args.rs -lib/rustlib/src/rust/library/std/src/sys/unix/cmath.rs -lib/rustlib/src/rust/library/std/src/sys/unix/env.rs -lib/rustlib/src/rust/library/std/src/sys/unix/fd/ -lib/rustlib/src/rust/library/std/src/sys/unix/fd.rs -lib/rustlib/src/rust/library/std/src/sys/unix/fd/tests.rs -lib/rustlib/src/rust/library/std/src/sys/unix/fs.rs -lib/rustlib/src/rust/library/std/src/sys/unix/futex.rs -lib/rustlib/src/rust/library/std/src/sys/unix/io.rs -lib/rustlib/src/rust/library/std/src/sys/unix/kernel_copy/ -lib/rustlib/src/rust/library/std/src/sys/unix/kernel_copy.rs -lib/rustlib/src/rust/library/std/src/sys/unix/kernel_copy/tests.rs -lib/rustlib/src/rust/library/std/src/sys/unix/l4re.rs -lib/rustlib/src/rust/library/std/src/sys/unix/locks/ -lib/rustlib/src/rust/library/std/src/sys/unix/locks/fuchsia_mutex.rs -lib/rustlib/src/rust/library/std/src/sys/unix/locks/futex_condvar.rs -lib/rustlib/src/rust/library/std/src/sys/unix/locks/futex_mutex.rs -lib/rustlib/src/rust/library/std/src/sys/unix/locks/futex_rwlock.rs -lib/rustlib/src/rust/library/std/src/sys/unix/locks/mod.rs -lib/rustlib/src/rust/library/std/src/sys/unix/locks/pthread_condvar.rs -lib/rustlib/src/rust/library/std/src/sys/unix/locks/pthread_mutex.rs -lib/rustlib/src/rust/library/std/src/sys/unix/locks/pthread_rwlock.rs -lib/rustlib/src/rust/library/std/src/sys/unix/memchr.rs -lib/rustlib/src/rust/library/std/src/sys/unix/mod.rs -lib/rustlib/src/rust/library/std/src/sys/unix/net.rs -lib/rustlib/src/rust/library/std/src/sys/unix/os/ -lib/rustlib/src/rust/library/std/src/sys/unix/os.rs -lib/rustlib/src/rust/library/std/src/sys/unix/os/tests.rs -lib/rustlib/src/rust/library/std/src/sys/unix/os_str/ -lib/rustlib/src/rust/library/std/src/sys/unix/os_str.rs -lib/rustlib/src/rust/library/std/src/sys/unix/os_str/tests.rs -lib/rustlib/src/rust/library/std/src/sys/unix/path.rs -lib/rustlib/src/rust/library/std/src/sys/unix/pipe.rs -lib/rustlib/src/rust/library/std/src/sys/unix/process/ -lib/rustlib/src/rust/library/std/src/sys/unix/process/mod.rs -lib/rustlib/src/rust/library/std/src/sys/unix/process/process_common/ -lib/rustlib/src/rust/library/std/src/sys/unix/process/process_common.rs -lib/rustlib/src/rust/library/std/src/sys/unix/process/process_common/tests.rs -lib/rustlib/src/rust/library/std/src/sys/unix/process/process_fuchsia.rs -lib/rustlib/src/rust/library/std/src/sys/unix/process/process_unix/ -lib/rustlib/src/rust/library/std/src/sys/unix/process/process_unix.rs -lib/rustlib/src/rust/library/std/src/sys/unix/process/process_unix/tests.rs -lib/rustlib/src/rust/library/std/src/sys/unix/process/process_unsupported.rs -lib/rustlib/src/rust/library/std/src/sys/unix/process/process_vxworks.rs -lib/rustlib/src/rust/library/std/src/sys/unix/process/zircon.rs -lib/rustlib/src/rust/library/std/src/sys/unix/rand.rs -lib/rustlib/src/rust/library/std/src/sys/unix/stack_overflow.rs -lib/rustlib/src/rust/library/std/src/sys/unix/stdio.rs -lib/rustlib/src/rust/library/std/src/sys/unix/thread.rs -lib/rustlib/src/rust/library/std/src/sys/unix/thread_local_dtor.rs -lib/rustlib/src/rust/library/std/src/sys/unix/thread_local_key.rs -lib/rustlib/src/rust/library/std/src/sys/unix/thread_parking/ -lib/rustlib/src/rust/library/std/src/sys/unix/thread_parking/darwin.rs -lib/rustlib/src/rust/library/std/src/sys/unix/thread_parking/mod.rs -lib/rustlib/src/rust/library/std/src/sys/unix/thread_parking/netbsd.rs -lib/rustlib/src/rust/library/std/src/sys/unix/thread_parking/pthread.rs -lib/rustlib/src/rust/library/std/src/sys/unix/time.rs -lib/rustlib/src/rust/library/std/src/sys/unix/weak.rs -lib/rustlib/src/rust/library/std/src/sys/unsupported/ -lib/rustlib/src/rust/library/std/src/sys/unsupported/alloc.rs -lib/rustlib/src/rust/library/std/src/sys/unsupported/args.rs -lib/rustlib/src/rust/library/std/src/sys/unsupported/common.rs -lib/rustlib/src/rust/library/std/src/sys/unsupported/env.rs -lib/rustlib/src/rust/library/std/src/sys/unsupported/fs.rs -lib/rustlib/src/rust/library/std/src/sys/unsupported/io.rs -lib/rustlib/src/rust/library/std/src/sys/unsupported/locks/ -lib/rustlib/src/rust/library/std/src/sys/unsupported/locks/condvar.rs -lib/rustlib/src/rust/library/std/src/sys/unsupported/locks/mod.rs -lib/rustlib/src/rust/library/std/src/sys/unsupported/locks/mutex.rs -lib/rustlib/src/rust/library/std/src/sys/unsupported/locks/rwlock.rs -lib/rustlib/src/rust/library/std/src/sys/unsupported/mod.rs -lib/rustlib/src/rust/library/std/src/sys/unsupported/net.rs -lib/rustlib/src/rust/library/std/src/sys/unsupported/once.rs -lib/rustlib/src/rust/library/std/src/sys/unsupported/os.rs -lib/rustlib/src/rust/library/std/src/sys/unsupported/pipe.rs -lib/rustlib/src/rust/library/std/src/sys/unsupported/process.rs -lib/rustlib/src/rust/library/std/src/sys/unsupported/stdio.rs -lib/rustlib/src/rust/library/std/src/sys/unsupported/thread.rs -lib/rustlib/src/rust/library/std/src/sys/unsupported/thread_local_dtor.rs -lib/rustlib/src/rust/library/std/src/sys/unsupported/thread_local_key.rs -lib/rustlib/src/rust/library/std/src/sys/unsupported/thread_parking.rs -lib/rustlib/src/rust/library/std/src/sys/unsupported/time.rs -lib/rustlib/src/rust/library/std/src/sys/wasi/ -lib/rustlib/src/rust/library/std/src/sys/wasi/args.rs -lib/rustlib/src/rust/library/std/src/sys/wasi/env.rs -lib/rustlib/src/rust/library/std/src/sys/wasi/fd.rs -lib/rustlib/src/rust/library/std/src/sys/wasi/fs.rs -lib/rustlib/src/rust/library/std/src/sys/wasi/io.rs -lib/rustlib/src/rust/library/std/src/sys/wasi/mod.rs -lib/rustlib/src/rust/library/std/src/sys/wasi/net.rs -lib/rustlib/src/rust/library/std/src/sys/wasi/os.rs -lib/rustlib/src/rust/library/std/src/sys/wasi/stdio.rs -lib/rustlib/src/rust/library/std/src/sys/wasi/thread.rs -lib/rustlib/src/rust/library/std/src/sys/wasi/time.rs -lib/rustlib/src/rust/library/std/src/sys/wasm/ -lib/rustlib/src/rust/library/std/src/sys/wasm/alloc.rs -lib/rustlib/src/rust/library/std/src/sys/wasm/atomics/ -lib/rustlib/src/rust/library/std/src/sys/wasm/atomics/futex.rs -lib/rustlib/src/rust/library/std/src/sys/wasm/atomics/thread.rs -lib/rustlib/src/rust/library/std/src/sys/wasm/env.rs -lib/rustlib/src/rust/library/std/src/sys/wasm/mod.rs -lib/rustlib/src/rust/library/std/src/sys/windows/ -lib/rustlib/src/rust/library/std/src/sys/windows/alloc/ -lib/rustlib/src/rust/library/std/src/sys/windows/alloc.rs -lib/rustlib/src/rust/library/std/src/sys/windows/alloc/tests.rs -lib/rustlib/src/rust/library/std/src/sys/windows/args/ -lib/rustlib/src/rust/library/std/src/sys/windows/args.rs -lib/rustlib/src/rust/library/std/src/sys/windows/args/tests.rs -lib/rustlib/src/rust/library/std/src/sys/windows/c/ -lib/rustlib/src/rust/library/std/src/sys/windows/c.rs -lib/rustlib/src/rust/library/std/src/sys/windows/c/windows_sys.lst -lib/rustlib/src/rust/library/std/src/sys/windows/c/windows_sys.rs -lib/rustlib/src/rust/library/std/src/sys/windows/cmath.rs -lib/rustlib/src/rust/library/std/src/sys/windows/compat.rs -lib/rustlib/src/rust/library/std/src/sys/windows/env.rs -lib/rustlib/src/rust/library/std/src/sys/windows/fs.rs -lib/rustlib/src/rust/library/std/src/sys/windows/handle/ -lib/rustlib/src/rust/library/std/src/sys/windows/handle.rs -lib/rustlib/src/rust/library/std/src/sys/windows/handle/tests.rs -lib/rustlib/src/rust/library/std/src/sys/windows/io.rs -lib/rustlib/src/rust/library/std/src/sys/windows/locks/ -lib/rustlib/src/rust/library/std/src/sys/windows/locks/condvar.rs -lib/rustlib/src/rust/library/std/src/sys/windows/locks/mod.rs -lib/rustlib/src/rust/library/std/src/sys/windows/locks/mutex.rs -lib/rustlib/src/rust/library/std/src/sys/windows/locks/rwlock.rs -lib/rustlib/src/rust/library/std/src/sys/windows/memchr.rs -lib/rustlib/src/rust/library/std/src/sys/windows/mod.rs -lib/rustlib/src/rust/library/std/src/sys/windows/net.rs -lib/rustlib/src/rust/library/std/src/sys/windows/os/ -lib/rustlib/src/rust/library/std/src/sys/windows/os.rs -lib/rustlib/src/rust/library/std/src/sys/windows/os/tests.rs -lib/rustlib/src/rust/library/std/src/sys/windows/os_str.rs -lib/rustlib/src/rust/library/std/src/sys/windows/path/ -lib/rustlib/src/rust/library/std/src/sys/windows/path.rs -lib/rustlib/src/rust/library/std/src/sys/windows/path/tests.rs -lib/rustlib/src/rust/library/std/src/sys/windows/pipe.rs -lib/rustlib/src/rust/library/std/src/sys/windows/process/ -lib/rustlib/src/rust/library/std/src/sys/windows/process.rs -lib/rustlib/src/rust/library/std/src/sys/windows/process/tests.rs -lib/rustlib/src/rust/library/std/src/sys/windows/rand.rs -lib/rustlib/src/rust/library/std/src/sys/windows/stack_overflow.rs -lib/rustlib/src/rust/library/std/src/sys/windows/stack_overflow_uwp.rs -lib/rustlib/src/rust/library/std/src/sys/windows/stdio/ -lib/rustlib/src/rust/library/std/src/sys/windows/stdio.rs -lib/rustlib/src/rust/library/std/src/sys/windows/stdio/tests.rs -lib/rustlib/src/rust/library/std/src/sys/windows/thread.rs -lib/rustlib/src/rust/library/std/src/sys/windows/thread_local_dtor.rs -lib/rustlib/src/rust/library/std/src/sys/windows/thread_local_key/ -lib/rustlib/src/rust/library/std/src/sys/windows/thread_local_key.rs -lib/rustlib/src/rust/library/std/src/sys/windows/thread_local_key/tests.rs -lib/rustlib/src/rust/library/std/src/sys/windows/thread_parking.rs -lib/rustlib/src/rust/library/std/src/sys/windows/time.rs lib/rustlib/src/rust/library/std/src/sys_common/ lib/rustlib/src/rust/library/std/src/sys_common/backtrace.rs lib/rustlib/src/rust/library/std/src/sys_common/fs.rs @@ -1576,7 +1616,6 @@ lib/rustlib/src/rust/library/stdarch/crates/core_arch/avx512f.md lib/rustlib/src/rust/library/stdarch/crates/core_arch/rustfmt.toml lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/ lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/aarch64/ -lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/aarch64/armclang.rs lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/aarch64/crc.rs lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/aarch64/mod.rs lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/aarch64/neon/ @@ -1585,17 +1624,12 @@ lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/aarch64/neon/mod.rs lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/aarch64/prefetch.rs lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/aarch64/test_support.rs lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/aarch64/tme.rs -lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/aarch64/v8.rs lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm/ -lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm/armclang.rs lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm/dsp.rs -lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm/ex.rs lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm/mod.rs lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm/neon.rs lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm/sat.rs lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm/simd32.rs -lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm/v6.rs -lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm/v7.rs lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm_shared/ lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm_shared/barrier/ lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm_shared/barrier/common.rs @@ -1614,11 +1648,6 @@ lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm_shared/neon/mod.rs lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm_shared/neon/shift_and_insert_tests.rs lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm_shared/neon/store_tests.rs lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm_shared/neon/table_lookup_tests.rs -lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm_shared/registers/ -lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm_shared/registers/aarch32.rs -lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm_shared/registers/mod.rs -lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm_shared/registers/v6m.rs -lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm_shared/registers/v7m.rs lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/arm_shared/test_support.rs lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/core_arch_docs.md lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/lib.rs @@ -1636,11 +1665,17 @@ lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/powerpc/mod.rs lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/powerpc/vsx.rs lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/powerpc64/ lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/powerpc64/mod.rs +lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/riscv32/ +lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/riscv32/mod.rs +lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/riscv32/zk.rs lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/riscv64/ lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/riscv64/mod.rs +lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/riscv64/zk.rs lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/riscv_shared/ lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/riscv_shared/mod.rs lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/riscv_shared/p.rs +lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/riscv_shared/zb.rs +lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/riscv_shared/zk.rs lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/simd.rs lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/simd_llvm.rs lib/rustlib/src/rust/library/stdarch/crates/core_arch/src/v64.rs @@ -1846,10 +1881,10 @@ lib/rustlib/src/rust/library/test/src/time.rs lib/rustlib/src/rust/library/test/src/types.rs lib/rustlib/src/rust/library/unwind/ lib/rustlib/src/rust/library/unwind/Cargo.toml -lib/rustlib/src/rust/library/unwind/build.rs lib/rustlib/src/rust/library/unwind/src/ lib/rustlib/src/rust/library/unwind/src/lib.rs lib/rustlib/src/rust/library/unwind/src/libunwind.rs +lib/rustlib/src/rust/library/unwind/src/unwinding.rs lib/rustlib/src/rust/src/ lib/rustlib/src/rust/src/llvm-project/ lib/rustlib/src/rust/src/llvm-project/libunwind/ diff --git a/lang/rust/rust.port.mk b/lang/rust/rust.port.mk new file mode 100644 index 000000000..ac670c3dd --- /dev/null +++ b/lang/rust/rust.port.mk @@ -0,0 +1,29 @@ +# increment after rust compiler update to trigger updates of +# all compiled rust packages (see arch-defines.mk) +_SYSTEM_VERSION-rust = 3 + +CATEGORIES += lang/rust + +# WANTLIB for Rust compiled code +# it should be kept in sync with lang/rust code +# - c/pthread : all syscalls +# - c++abi / libgcc.a : unwind +MODRUST_WANTLIB += c pthread + +.if "${MACHINE_ARCH}" != "sparc64" +MODRUST_WANTLIB += c++abi +.else +# libgcc.a is static +MODRUST_WANTLIB += +.endif + +CHECK_LIB_DEPENDS_ARGS += -S MODRUST_WANTLIB="${MODRUST_WANTLIB}" + +MODRUST_BUILDDEP ?= Yes +.if ${MODRUST_BUILDDEP:L} == "yes" +BUILD_DEPENDS += lang/rust +.endif + +# Location of rustc/rustdoc binaries +MODRUST_RUSTC_BIN = ${LOCALBASE}/bin/rustc +MODRUST_RUSTDOC_BIN = ${LOCALBASE}/bin/rustdoc