about summary refs log tree commit diff
path: root/library/std/Cargo.toml
AgeCommit message (Collapse)AuthorLines
2022-02-15removing architecture requirements for RustyHermitStefan Lankes-2/+2
RustHermit and HermitCore is able to run on aarch64 and x86_64. In the future these operating systems will also support RISC-V. Consequently, the dependency to a specific target should be removed. Building hermit-abi fails if the architecture isn't supported.
2022-02-09Bump compiler-builtins to 0.1.69Amanieu d'Antras-1/+1
2022-01-29Update compiler_builtins to fix duplicate symbols in ↵Daniel Sommermann-1/+1
`armv7-linux-androideabi` rlib I ran `./x.py dist --host= --target=armv7-linux-androideabi` before this diff: ``` $ nm build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/armv7-linux-androideabi/lib/libcompiler_builtins-3d9661a82c59c66a.rlib 2> /dev/null | grep __sync_fetch_and_add_4 | wc -l 2 ``` And after: ``` $ nm build/x86_64-unknown-linux-gnu/stage2/lib/rustlib/armv7-linux-androideabi/lib/libcompiler_builtins-ffd2745070943321.rlib 2> /dev/null | grep __sync_fetch_and_add_4 | wc -l 1 ``` Fixes #93310
2022-01-29Auto merge of #93351 - anp:fuchsia-remove-dir-all, r=tmandrybors-1/+1
Bump libc and fix remove_dir_all on Fuchsia after CVE fix With the previous `is_dir` impl, we would attempt to unlink a directory in the None branch, but Fuchsia supports returning ENOTEMPTY from unlinkat() without the AT_REMOVEDIR flag because we don't currently differentiate unlinking files and directories by default. On the Fuchsia side I've opened https://fxbug.dev/92273 to discuss whether this is the correct behavior, but it doesn't seem like addressing the error code is necessary to make our tests happy. Depends on https://github.com/rust-lang/libc/pull/2654 since we apparently haven't needed to reference DT_UNKNOWN before this.
2022-01-28Fix remove_dir_all on Fuchsia after CVE fix.Adam Perry-1/+1
With the previous `is_dir` impl, we would attempt to unlink a directory in the None branch, but Fuchsia supports returning ENOTEMPTY from unlinkat() without the AT_REMOVEDIR flag because we don't currently differentiate unlinking files and directories by default. On the Fuchsia side I've opened https://fxbug.dev/92273 to discuss whether this is the correct behavior, but it doesn't seem like addressing the error code is necessary to make our tests happy. Updates std's libc crate to include DT_UNKNOWN for Fuchsia.
2022-01-28wasi: update to wasi 0.11.0Harald Hoyer-1/+1
To make use of `sock_accept()`, update the wasi crate to `0.11.0`. Signed-off-by: Harald Hoyer <harald@profian.com>
2022-01-21Update hashbrown to 0.12.0Amanieu d'Antras-1/+1
2021-12-18Update stdlib to the 2021 editionLucas Kent-1/+1
2021-12-15Bump compiler-builtins to 0.1.66Ayrton-1/+1
Adds intrinsics for truncdfsf2 and truncdfsf2vsp on ARM.
2021-12-12Stabilize asm! and global_asm!Amanieu d'Antras-1/+1
They are also removed from the prelude as per the decision in https://github.com/rust-lang/rust/issues/87228. stdarch and compiler-builtins are updated to work with the new, stable asm! and global_asm! macros.
2021-11-28Bump compiler_builtins to 0.1.55 to bring in fixes for targets lacking ↵William D. Jones-1/+1
atomic support.
2021-11-27Update libc to 0.2.108Jubilee Young-1/+1
Changelog: https://github.com/rust-lang/libc/releases/tag/0.2.107 https://github.com/rust-lang/libc/releases/tag/0.2.108 Primarily intended to pull in fd331f65f214ea75b6210b415b5fd8650be15c73 This should help with https://github.com/rust-lang/rust/pull/90044
2021-11-26Bump compiler-builtins to 0.1.53Alessandro Decina-1/+1
Fixes a LLVM crash with the bpf targets
2021-11-10Update stdarch/dlmallocAlex Crichton-1/+1
Ensure that they compile with the now-a-feature-is-required logic.
2021-11-10Update dlmalloc for libstdAlex Crichton-1/+1
This pulls in a fix for wasm64 to work correctly with this dlmalloc
2021-11-10Update stdarch/compiler_builtinsAlex Crichton-1/+1
Brings in some fixes and better support for the wasm64 target.
2021-11-10Use `target_family = "wasm"`Alex Crichton-1/+1
2021-11-10std: Get the standard library compiling for wasm64Alex Crichton-1/+1
This commit goes through and updates various `#[cfg]` as appropriate to get the wasm64-unknown-unknown target behaving similarly to the wasm32-unknown-unknown target. Most of this is just updating various conditions for `target_arch = "wasm32"` to also account for `target_arch = "wasm64"` where appropriate. This commit also lists `wasm64` as an allow-listed architecture to not have the `restricted_std` feature enabled, enabling experimentation with `-Z build-std` externally. The main goal of this commit is to enable playing around with `wasm64-unknown-unknown` externally via `-Z build-std` in a way that's similar to the `wasm32-unknown-unknown` target. These targets are effectively the same and only differ in their pointer size, but wasm64 is much newer and has much less ecosystem/library support so it'll still take time to get wasm64 fully-fledged.
2021-11-01Bump libc dependency of std to 0.2.106Tomoaki Kawada-1/+1
2021-10-05library std, libc dependency updateDavid Carlier-1/+1
to solve #87528 build.
2021-09-25Expose the std_detect env_override featureLuca Barbato-0/+1
2021-08-24Update rustc-demangle to 0.1.21.Eduard-Mihai Burtescu-1/+1
2021-08-19Auto merge of #88151 - alexcrichton:update-backtrace, r=Mark-Simulacrumbors-2/+2
Update the backtrace crate in libstd This commit updates the backtrace crate in libstd now that dependencies have been updated to use `memchr` from the standard library as well. This is mostly just making sure deps are up-to-date and have all the latest-and-greatest fixes and such. Closes rust-lang/backtrace-rs#432
2021-08-19Update the backtrace crate in libstdAlex Crichton-2/+2
This commit updates the backtrace crate in libstd now that dependencies have been updated to use `memchr` from the standard library as well. This is mostly just making sure deps are up-to-date and have all the latest-and-greatest fixes and such. Closes rust-lang/backtrace-rs#432
2021-08-13switch to the latest version of hermit-abiStefan Lankes-1/+1
2021-08-10STD support for the ESP-IDF frameworkivmarkov-1/+1
2021-07-29rfc3052: Remove authors field from Cargo manifestsJade-1/+0
Since RFC 3052 soft deprecated the authors field anyway, hiding it from crates.io, docs.rs, and making Cargo not add it by default, and it is not generally up to date/useful information, we should remove it from crates in this repo.
2021-07-25macos current_exe using directly libc instead.David CARLIER-1/+1
2021-06-01Update `compiler_builtins` to 0.1.44Tilmann Meyer-1/+1
2021-05-13Update compiler_builtins to 0.1.43Amanieu d'Antras-1/+1
2021-05-13Add support for const operands and options to global_asm!Amanieu d'Antras-1/+1
On x86, the default syntax is also switched to Intel to match asm!
2021-04-12Auto merge of #83776 - jyn514:update-stdarch-docs, r=Amanieubors-2/+3
Update stdarch submodule (to before it switched to const generics) https://github.com/rust-lang/rust/pull/83278#issuecomment-812389823: This unblocks #82539. Major changes: - More AVX-512 intrinsics. - More ARM & AArch64 NEON intrinsics. - Updated unstable WASM intrinsics to latest draft standards. - std_detect is now a separate crate instead of a submodule of std. I double-checked and the first use of const generics looks like https://github.com/rust-lang/stdarch/commit/8d5017861ed594a2baf169e632379862d516e013, which isn't included in this PR. r? `@Amanieu`
2021-04-12Update stdarch submodule (to before it switched to const generics)Joshua Nelson-2/+3
This also includes a cherry-pick of https://github.com/rust-lang/stdarch/commit/ec1461905b421cf0c56adeebb49bbf55bb33fd17 and https://github.com/rust-lang/stdarch/pull/1108 to fix a build failure. It also adds a re-export of various macros to the crate root of libstd - previously they would show up automatically because std_detect was defined in the same crate.
2021-04-10Bump libc dependency of std to 0.2.93Oleksandr Povar-1/+1
2021-03-16feat: Update hashbrown to instantiate less llvm IRMarkus Westerlind-1/+1
Includes https://github.com/rust-lang/hashbrown/pull/204 and https://github.com/rust-lang/hashbrown/pull/205 (not yet merged) which both server to reduce the amount of IR generated for hashmaps. Inspired by the llvm-lines data gathered in https://github.com/rust-lang/rust/pull/76680
2021-03-05Bump libc dependency of std to 0.2.88.Maarten de Vries-1/+1
2021-02-24Bump minimum libc version to 0.2.85 for std.Maarten de Vries-1/+1
2021-01-07Update `compiler_builtins` to 0.1.39Yuki Okushi-2/+2
2020-11-20std: Update the backtrace crate submoduleAlex Crichton-3/+3
This commit updates the `library/backtrace` submodule which primarily pulls in support for split-debuginfo on macOS, avoiding the need for `dsymutil` to get run to get line numbers and filenames in backtraces.
2020-11-17Rollup merge of #78138 - fortanix:raoul/dlmalloc0.2, r=Mark-SimulacrumMara Bos-1/+1
Upgrade dlmalloc to version 0.2 In preparation of adding dynamic memory management support for SGXv2-enabled platforms, the dlmalloc crate has been refactored. More specifically, support has been added to implement platform specification outside of the dlmalloc crate. (see https://github.com/alexcrichton/dlmalloc-rs/pull/15) This PR upgrades dlmalloc to version 0.2 for the `wasm` and `sgx` targets. As the dlmalloc changes have received a positive review, but have not been merged yet, this PR contains a commit to prevent tidy from aborting CI prematurely. cc: `@jethrogb`
2020-11-15add options to use optimized and mangled compiler builtinsStefan Lankes-0/+2
2020-11-12Upgrading dlmalloc to 0.2.1Raoul Strackx-1/+1
2020-10-27Rollup merge of #77703 - Keruspe:system-libunwind, r=Mark-SimulacrumYuki Okushi-0/+1
add system-llvm-libunwind config option allows using the system-wide llvm-libunwind as the unwinder Workaround for #76020
2020-10-24Rollup merge of #77610 - hermitcore:dtors, r=m-ou-seJonas Schievink-1/+1
revise Hermit's mutex interface to support the behaviour of StaticMutex rust-lang/rust#77147 simplifies things by splitting this Mutex type into two types matching the two use cases: StaticMutex and MovableMutex. To support the new behavior of StaticMutex, we move part of the mutex implementation into libstd. The interface to the OS changed. Consequently, I removed a few functions, which aren't longer needed.
2020-10-21Update to rustc-demangle 0.1.18varkor-1/+1
2020-10-21Update rustc-demanglevarkor-1/+1
2020-10-21allow using the system-wide llvm-libunwind as the unwinderMarc-Antoine Perennou-0/+1
Signed-off-by: Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2020-10-11using the latest version of libhermit-rsStefan Lankes-1/+1
2020-10-04Update libc to 0.2.79Josh Triplett-1/+1
This also fixes issues with inconsistent `unsafe` on functions.
2020-09-27libary: Forward compiler-builtins "mem" featureJoe Richey-0/+1
This fixes https://github.com/rust-lang/wg-cargo-std-aware/issues/53 Now users will be able to do: ``` cargo build -Zbuild-std=core -Zbuild-std-features=compiler-builtins-mem ``` and correctly get the Rust implemenations for `memcpy` and friends. Signed-off-by: Joe Richey <joerichey@google.com>