about summary refs log tree commit diff
path: root/library/std/Cargo.toml
AgeCommit message (Collapse)AuthorLines
2023-03-30Update compiler-builtins to 0.1.91 to bring in msp430 shift primitive fixes.William D. Jones-1/+1
2023-03-28Add OpenHarmony targetsAmanieu d'Antras-1/+1
- `aarch64-unknown-linux-ohos` - `armv7-unknown-linux-ohos`
2023-03-02Auto merge of #106673 - flba-eb:add_qnx_nto_stdlib, r=workingjubileebors-1/+1
Add support for QNX Neutrino to standard library This change: - adds standard library support for QNX Neutrino (7.1). - upgrades `libc` to version `0.2.139` which supports QNX Neutrino `@gh-tr` ⚠️ Backtraces on QNX require https://github.com/rust-lang/backtrace-rs/pull/507 which is not yet merged! (But everything else works without these changes) ⚠️ Tested mainly with a x86_64 virtual machine (see qnx-nto.md) and partially with an aarch64 hardware (some tests fail due to constrained resources).
2023-02-24add support of RustyHermit's BSD socket layerStefan Lankes-1/+1
RustHermit publishs a new kernel interface and supports a common BSD socket layer. By supporting this interface, the implementation can be harmonized to other operating systems. To realize this socket layer, the handling of file descriptors is also harmonized to other operating systems.
2023-02-15Use libc which supports QNX NeutrinoFlorian Bartels-1/+1
Co-authored-by: gh-tr <troach@qnx.com>
2023-02-10Drop llvm14-builtins-abi with compiler_builtins 0.1.87Josh Stone-1/+1
2023-01-04Update rand in the stdlib tests, and remove the getrandom feature from itThom Chiovoloni-1/+2
2022-12-08Bump compiler-builtins to 0.1.85Martin Kröning-1/+1
2022-12-03std update libc version and freebsd image build dependenciesDavid CARLIER-1/+1
2022-11-13Update compiler-builtinsAyush Singh-1/+1
This was originally a part of https://github.com/rust-lang/rust/pull/100316. However, extracting it to a seperate PR should help with any extra testing that might be needed. Signed-off-by: Ayush Singh <ayushsingh1325@gmail.com>
2022-11-03std: sync "Dependencies of the `backtrace` crate" with `backtrace`Michael Howell-3/+3
Compare: https://github.com/rust-lang/backtrace-rs/blob/07872f28cd8a65c3c7428811548dc85f1f2fb05b/Cargo.toml#L43 https://github.com/rust-lang/rust/blob/160b19429523ea44c4c3b7cad4233b2a35f58b8f/library/std/Cargo.toml#L26
2022-10-19Update libstd's libc to 0.2.135Thom Chiovoloni-1/+1
2022-09-15Update stdarchWesley Wiser-1/+1
stdarch updated their version of `cfg-if` so we need to update the one used by libstd as well.
2022-09-09std: use futex-based locks and thread parker on Hermitjoboet-1/+1
2022-08-16Update fortanix-sgx-abi and export some useful SGX usercall traitsMohsen Zohrevandi-1/+1
Update fortanix-sgx-abi to 0.5.0 to add support for cancel queue (see https://github.com/fortanix/rust-sgx/pull/405 and https://github.com/fortanix/rust-sgx/pull/404). Export some useful traits for processing SGX usercall. This is needed for https://github.com/fortanix/rust-sgx/pull/404 to avoid duplication.
2022-05-26library/std: Bump compiler_builtinsPatryk Wychowaniec-1/+1
2022-05-21Update libc dependency of std to 0.2.126Jason A. Donenfeld-1/+1
This is required for the next commit, which uses libc::GRND_INSECURE.
2022-04-29Update libc dependency of std to 0.2.125.Mara Bos-1/+1
2022-04-14library: Move `CStr` to libcore, and `CString` to liballocVadim Petrochenkov-1/+1
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!