about summary refs log tree commit diff
path: root/library/alloc/Cargo.toml
AgeCommit message (Collapse)AuthorLines
2025-01-15Update compiler-builtins to 0.1.143Trevor Gross-1/+1
0.1.142 fixes an issue parsing optimization flags, and 0.1.143 changes `__rust_[ui]128_*` builtins to use a C-safe signature.
2025-01-14Update compiler-builtins to 0.1.141Trevor Gross-1/+1
0.1.141 syncs changes from `libm`. Most of the `libm` changes are testing- or configuration-related.
2024-12-27Update `compiler-builtins` to 0.1.140Trevor Gross-1/+1
Nothing significant here, just syncing the following small changes: - https://github.com/rust-lang/compiler-builtins/pull/727 - https://github.com/rust-lang/compiler-builtins/pull/730 - https://github.com/rust-lang/compiler-builtins/pull/736 - https://github.com/rust-lang/compiler-builtins/pull/737
2024-11-03Update `compiler_builtins` to 0.1.138 and pin itTrevor Gross-1/+1
This updates to a new version of builtins that includes [1], which was the last blocker to us enabling `f128` tests on all platforms 🎉. With this update, also change to pinning the version with `=` rather than using the default carat versioning. This is meant to ensure that `compiler-builtins` does not get updated as part of the weekly `Cargo.lock` update, since updates to this crate need to be intentional: changes to rust-lang/rust and rust-lang/compiler-builtins sometimes need to be kept in lockstep, unlike most dependencies, and sometimes these updates can be problematic. [1]: https://github.com/rust-lang/compiler-builtins/pull/624
2024-10-26Update compiler-builtins to 0.1.136Trevor Gross-1/+1
This includes: * The license change https://github.com/rust-lang/compiler-builtins/pull/717 * The `libm` submodule update, which also has a license change https://github.com/rust-lang/libm/pull/317 * Re-enabling `math` on i686 UEFI https://github.com/rust-lang/compiler-builtins/pull/715
2024-10-19Update `compiler-builtins` to 0.1.134Ben Kimock-1/+1
2024-10-05Update `compiler-builtins` to 0.1.133Trevor Gross-1/+1
This includes [1], which should help resolve an infinite recusion issue on WASM and SPARC (possibly other platforms). See [2] and [3] for further details. [1]: https://github.com/rust-lang/compiler-builtins/pull/708 [2]: https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/sparc-unknown-none-elf.20regresssion.20between.20compiler-built.2E.2E.2E [3]: https://rust-lang.zulipchat.com/#narrow/stream/131828-t-compiler/topic/.5Bwasm32.5D.20Infinite.20recursion.20.60compiler-builtins.60.20.60__multi3.60
2024-10-04Update compiler-builtins to 0.1.132Alan Wu-1/+1
This commit updates compiler-builtins from 0.1.130 to 0.1.132. PRs in the delta: - rust-lang/compiler-builtins#698 - rust-lang/compiler-builtins#699 - rust-lang/compiler-builtins#701 - rust-lang/compiler-builtins#704 - rust-lang/compiler-builtins#627 - rust-lang/compiler-builtins#706
2024-09-28Update compiler_builtins to 0.1.130Trevor Gross-1/+1
This includes the following which add `__divtf3` and `__powtf2`, and do some feature cleanup: - https://github.com/rust-lang/compiler-builtins/pull/622 - https://github.com/rust-lang/compiler-builtins/pull/692 - https://github.com/rust-lang/compiler-builtins/pull/614 - https://github.com/rust-lang/compiler-builtins/pull/694 The `cc` bump [1] was previously included but was reverted due to problems updating. [1]: https://github.com/rust-lang/compiler-builtins/pull/690
2024-09-26update `compiler_builtins` to `0.1.126`Folkert de Vries-1/+1
2024-09-05Update compiler-builtins to 0.1.125Alex Crichton-1/+1
This commit updates the compiler-builtins crate from 0.1.123 to 0.1.125. The changes in this update are: * https://github.com/rust-lang/compiler-builtins/pull/682 * https://github.com/rust-lang/compiler-builtins/pull/678 * https://github.com/rust-lang/compiler-builtins/pull/685
2024-08-31when -Zrandomize-layout is enabled disable alloc test testing internal ↵The 8472-0/+1
struct sizes
2024-08-29Update `compiler_builtins` to `0.1.123`Amjad Alsharafi-1/+1
Signed-off-by: Amjad Alsharafi <26300843+Amjad50@users.noreply.github.com>
2024-08-23Update `compiler_builtins` to `0.1.121`Scott McMurray-1/+1
2024-08-22Update `compiler_builtins` to `0.1.120`Amjad Alsharafi-1/+1
Signed-off-by: Amjad Alsharafi <26300843+Amjad50@users.noreply.github.com>
2024-08-08Update compiler-builtins version to 0.1.118Guillaume Gomez-1/+1
2024-08-06Update `compiler-builtins` to 0.1.117Trevor Gross-4/+1
This includes [1] which means we can remove the (nonworking) configuration of `no-f16-f128`. Fixes https://github.com/rust-lang/rust/issues/128401. [1]: https://github.com/rust-lang/compiler-builtins/pull/652
2024-07-29Auto merge of #125016 - nicholasbishop:bishop-cb-112, r=tgross35bors-2/+5
Update compiler_builtins to 0.1.114 The `weak-intrinsics` feature was removed from compiler_builtins in https://github.com/rust-lang/compiler-builtins/pull/598, so dropped the `compiler-builtins-weak-intrinsics` feature from alloc/std/sysroot. In https://github.com/rust-lang/compiler-builtins/pull/593, some builtins for f16/f128 were added. These don't work for all compiler backends, so add a `compiler-builtins-no-f16-f128` feature and disable it for cranelift and gcc.
2024-07-28Update compiler_builtins to 0.1.114Nicholas Bishop-2/+5
The `weak-intrinsics` feature was removed from compiler_builtins in https://github.com/rust-lang/compiler-builtins/pull/598, so dropped the `compiler-builtins-weak-intrinsics` feature from alloc/std/sysroot. In https://github.com/rust-lang/compiler-builtins/pull/593, some builtins for f16/f128 were added. These don't work for all compiler backends, so add a `compiler-builtins-no-f16-f128` feature and disable it for cranelift and gcc. Also disable it for LLVM targets that don't support it.
2024-06-27Cleanup bootstrap check-cfgUrgau-2/+0
2024-05-25Rollup merge of #123803 - Sp00ph:shrink_to_fix, r=Mark-SimulacrumMatthias Krüger-0/+4
Fix `VecDeque::shrink_to` UB when `handle_alloc_error` unwinds. Fixes #123369 For `VecDeque` it's relatively simple to restore the buffer into a consistent state so this PR does just that. Note that with its current implementation, `shrink_to` may change the internal arrangement of elements in the buffer, so e.g. `[D, <uninit>, A, B, C]` will become `[<uninit>, A, B, C, D]` and `[<uninit>, <uninit>, A, B, C]` may become `[B, C, <uninit>, <uninit>, A]` if `shrink_to` unwinds. This shouldn't be an issue though as we don't make any guarantees about the stability of the internal buffer arrangement (and this case is impossible to hit on stable anyways). This PR also includes a test with code adapted from #123369 which fails without the new `shrink_to` code. Does this suffice or do we maybe need more exhaustive tests like in #108475? cc `@Amanieu` `@rustbot` label +T-libs
2024-05-24Remove now outdated comment since we bumped stage0Urgau-1/+0
2024-05-21addresss reviewsLzu Tao-1/+4
2024-05-21Update check-cfg lists for allocLzu Tao-0/+9
2024-05-13Forward alloc features to coreDion Dokter-2/+2
2024-05-11Add flag to std and alloc tooDion Dokter-0/+2
2024-05-07Move `test_shrink_to_unwind` to its own file.Markus Everling-0/+4
This way, no other test can be tripped up by `test_shrink_to_unwind` changing the alloc error hook.
2023-11-26Rename `{collections=>alloc}{tests,benches}`Maybe Waffle-2/+2
2023-10-29Increase the reach of panic_immediate_abortBen Kimock-0/+2
2023-06-23Expose `compiler-builtins-weak-intrinsics` feature for `-Zbuild-std`Amanieu d'Antras-0/+1
This was added in rust-lang/compiler-builtins#526 to force all compiler-builtins intrinsics to use weak linkage.
2023-04-25Revert "Report allocation errors as panics"Matthias Krüger-3/+0
This reverts commit c9a6e41026d7aa27d897fb83e995447719753076.
2023-04-16Report allocation errors as panicsAmanieu d'Antras-0/+3
2023-01-04Update rand in the stdlib tests, and remove the getrandom feature from itThom Chiovoloni-2/+2
2021-12-23Switch all libraries to the 2021 editionDeadbeef-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-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-02-21Add license metadata for std dependenciesCharles E. Lehner-0/+3
2021-01-07Update `compiler_builtins` to 0.1.39Yuki Okushi-2/+2
2020-11-15add options to use optimized and mangled compiler builtinsStefan Lankes-0/+2
2020-07-27mv std libs to library/mark-0/+33