Brian Cain
d5c39d0638
Update compiler_builtins to 0.1.105
...
This provides the builtins for the hexagon architecture.
2024-01-09 20:30:56 -08:00
Guillaume Gomez
87b0de6cb7
Rollup merge of #118645 - Patryk27:bump-compiler-builtins, r=Nilstrieb,dtolnay
...
chore: Bump compiler_builtins
Actually closes https://github.com/rust-lang/rust/issues/118079 .
2024-01-09 17:52:20 +01:00
Kai Luo
9f64023096
Use different cfg for AIX
2023-12-13 10:15:27 +08:00
Kai Luo
d2402e3f0d
Add xcoff support
2023-12-12 10:20:06 +08:00
Patryk Wychowaniec
a2b79cd92f
chore: Bump compiler_builtins
...
Actually closes https://github.com/rust-lang/rust/issues/118079 .
2023-12-05 15:58:07 +01:00
Urgau
15719a8c1d
libc: bump dependency to 0.2.150
2023-11-05 18:32:10 +01:00
Nicholas Bishop
5d3535c616
Bump compiler_builtins to 0.1.103
2023-11-04 13:11:10 -04:00
Ben Kimock
2e7364a586
Increase the reach of panic_immediate_abort
2023-10-29 09:31:07 -04:00
bors
d60d63fbf7
Auto merge of #116527 - sthibaul:libc, r=Mark-Simulacrum
...
Bump libc dependency
To get GNU/Hurd support, so that CI of external repositories (e.g. getrandom) can build std.
2023-10-15 15:17:17 +00:00
Peter Jaszkowiak
49aa5a23ca
Revert "Invoke backtrace-rs
buildscript in std
buildscript"
...
This reverts commit 93677276bc
because it caused issues for projects building the standard
library with non-cargo build systems.
2023-10-13 13:43:00 -06:00
Samuel Thibault
04d4336009
Bump libc dependency
...
To get GNU/Hurd support, so that CI of external repositories (e.g. getrandom)
can build std.
2023-10-08 19:56:44 +02:00
Peter Jaszkowiak
93677276bc
Invoke backtrace-rs
buildscript in std
buildscript
...
Based on #99883 by @Arc-blroth
Depends on rust-lang/backtrace-rs#556 and rust-lang/cc-rs#705
2023-10-02 19:34:27 -06:00
Ayush Singh
7a956441a1
Fixes from PR
...
- Some comment fixes.
- Make some functions unsafe.
- Make helpers module private.
- Rebase on master
- Update r-efi to v4.2.0
Signed-off-by: Ayush Singh <ayushsingh1325@gmail.com>
2023-09-22 17:23:33 +05:30
Ayush Singh
48c6ae0611
Add Minimal Std implementation for UEFI
...
Implemented modules:
1. alloc
2. os_str
3. env
4. math
Tracking Issue: https://github.com/rust-lang/rust/issues/100499
API Change Proposal: https://github.com/rust-lang/libs-team/issues/87
This was originally part of https://github.com/rust-lang/rust/pull/100316 . Since
that PR was becoming too unwieldy and cluttered, and with suggestion
from @dvdhrm, I have extracted a minimal std implementation to this PR.
Signed-off-by: Ayush Singh <ayushsingh1325@gmail.com>
2023-09-22 17:23:30 +05:30
Guillaume Gomez
6cfc6a8705
Rollup merge of #115839 - Dirreke:bump-libc, r=dtolnay
...
Bump libc to 0.2.148
2023-09-19 11:35:51 +02:00
dirreke
b8044774ff
Bump libc to 0.2.148
2023-09-14 16:56:49 +08:00
Sean Cross
823cba9cc8
std: xous: add alloc support
...
Basic alloc support on Xous is supported by the `dlmalloc` crate. This
necessitates bumping the dlmalloc version to 0.2.4.
Signed-off-by: Sean Cross <sean@xobs.io>
2023-08-22 20:25:38 +08:00
dirreke
74817b7053
Upgrade Object and related deps
2023-08-14 23:05:45 +08:00
bors
08691f0c92
Auto merge of #113432 - klensy:ms-cut-backtrace, r=ChrisDenton
...
reduce deps for windows-msvc targets for backtrace
(eventually) mirrors https://github.com/rust-lang/backtrace-rs/pull/543
Some dependencies of backtrace don't used on windows-msvc targets, so exclude them:
miniz_oxide (+ adler)
addr2line (+ gimli)
object (+ memchr)
This saves about 30kb of std.dll + 17.5mb of rlibs
2023-08-11 12:07:04 +00:00
bors
8838c73e86
Auto merge of #99747 - ankane:float_gamma, r=workingjubilee
...
Add gamma function to f32 and f64
Adds the [gamma function](https://en.wikipedia.org/wiki/Gamma_function ) to `f32` and `f64` (`tgamma` and `tgammaf` from C).
Refs:
- https://github.com/rust-lang/rfcs/issues/864
- https://github.com/rust-lang/rust/issues/18271
2023-08-09 03:14:31 +00:00
Andrew Kane
a75e2284fb
Bump compiler_builtins to 0.1.100
2023-08-07 16:38:09 -07:00
Georgii Rylov
5697f1620d
Add wasm32-wasi-threads target + WASI threads
2023-07-29 16:37:50 +01:00
klensy
6203cda583
reduce deps for windows-msvc targets for backtrace
2023-07-28 14:26:39 +03:00
Nicholas Bishop
8d5d2fea96
Bump compiler_builtins to 0.1.98
2023-07-21 13:03:58 -04:00
Stefan Lankes
8666adeb61
use latest version of hermit-abi
...
0.3.0 and 0.3.1 have an issue and will be yanked. Consequently, std
should switch to 0.3.2.
2023-07-12 13:15:09 +02:00
Stefan Lankes
50c7344eaf
define hermit_abi as public depedenceny
...
It's exported publicly, so it should not be linted.
2023-07-12 13:14:00 +02:00
jyn
fd7f53112a
Update compiler-builtins to 0.1.95
...
This pulls in the new `outline-atomics` intrinsics.
2023-07-05 10:41:41 -05:00
Jubilee Young
079949da8e
Update std to backtrace 0.3.68
...
Dedup addr2line, miniz_oxide, object in .lock
2023-07-02 17:02:45 -07:00
Nilstrieb
1e5d8fbcc9
downgrade compiler_builtins
...
The outline-atomics support in compiler_builtins messed up and wasn't limited to linux only.
https://github.com/rust-lang/compiler-builtins/pull/532/files#r1249354225
2023-07-02 21:02:31 +02:00
Matthias Krüger
2ed4368d2f
Rollup merge of #112956 - Amanieu:weak-intrinsics, r=Mark-Simulacrum
...
Expose `compiler-builtins-weak-intrinsics` feature for `-Zbuild-std`
This was added in rust-lang/compiler-builtins#526 to force all compiler-builtins intrinsics to use weak linkage.
2023-06-25 02:04:20 +02:00
Michael Goulet
ee8b035fab
Rollup merge of #112763 - Patryk27:bump-compiler-builtins, r=Amanieu
...
Bump compiler_builtins
Actually closes https://github.com/rust-lang/rust/issues/108489 .
Note that the example code given [in compiler_builtins](https://github.com/rust-lang/compiler-builtins/pull/527 ) doesn't compile on current rustc since we're still waiting for https://reviews.llvm.org/D153197 (aka `LLVM ERROR: Expected a constant shift amount!`), but it's a step forward anyway.
2023-06-23 19:47:20 -07:00
Amanieu d'Antras
4a9f292e50
Expose compiler-builtins-weak-intrinsics
feature for -Zbuild-std
...
This was added in rust-lang/compiler-builtins#526 to force all
compiler-builtins intrinsics to use weak linkage.
2023-06-23 11:15:34 +01:00
Patryk Wychowaniec
70ce2139e8
Bump compiler_builtins
2023-06-18 13:29:36 +02:00
Josh Stone
886085a4d5
std: only depend on dlmalloc for wasm*-unknown
...
It was already filtered out for emscripten, but wasi doesn't need dlmalloc
either since it reuses `unix/alloc.rs`.
2023-06-15 15:56:00 -07:00
The 8472
479be6ac43
update hashbrown and replace Hash{Set,Map}::DrainFilter with ExtractIf
2023-06-14 09:28:56 +02:00
Nikolay Arhipov
032857e7e4
Bumped libc version
2023-06-06 16:09:05 +03:00
Nikolay Arhipov
50117af409
Std support improvement for ps vita target
2023-06-05 19:14:09 +03:00
Michael Howell
5fb752bdd5
std: make fortanix-sgx-abi
a public depedenceny
...
It's exported publicly, so it should not be linted.
2023-05-25 08:15:05 -07:00
Michael Howell
64025bb168
bootstrap: enable Cargo public-dependency
feature for libstd
2023-05-25 08:13:23 -07:00
danakj
0e89b1b5fe
Roll compiler_builtins to 0.1.92
...
This pulls in the weak-intrinsics feature (which currently
defaults off), and a minor version update to libm for the
compiler_builtins crate to 0.2.7.
2023-05-23 11:14:50 -04:00
Yuki Okushi
4df84a1e4e
Rollup merge of #110638 - nikarh:vita, r=Mark-Simulacrum
...
STD support for PSVita
This PR adds std support for `armv7-sony-vita-newlibeabihf` target.
The work here is fairly similar to #95897 , just for a different target platform.
This depends on the following pull requests:
rust-lang/backtrace-rs#523
rust-lang/libc#3209
2023-05-08 19:41:49 +09:00
Nikolay Arhipov
3ba3df3764
PS Vita std support
2023-05-07 18:57:43 +03:00
Urgau
0b9feea0a4
Update hashbrown from 0.12.3 to 0.13.1 for std
2023-05-07 00:35:55 +02:00
bors
e3ccd4b9a5
Auto merge of #110562 - ComputerDruid:riscv, r=tmandry
...
Add definitions for riscv64gc-unknown-fuchsia
To compile, also requires a libc update with https://github.com/rust-lang/libc/pull/3204
2023-04-27 01:29:50 +00:00
Dan Johnson
e7ed5ba773
Add definitions for riscv64gc-unknown-fuchsia
2023-04-25 16:42:59 -07:00
Matthias Krüger
23a363821d
Revert "Report allocation errors as panics"
...
This reverts commit c9a6e41026
.
2023-04-25 00:08:37 +02:00
bors
39cf520299
Auto merge of #109507 - Amanieu:panic-oom-payload, r=davidtwco
...
Report allocation errors as panics
OOM is now reported as a panic but with a custom payload type (`AllocErrorPanicPayload`) which holds the layout that was passed to `handle_alloc_error`.
This should be review one commit at a time:
- The first commit adds `AllocErrorPanicPayload` and changes allocation errors to always be reported as panics.
- The second commit removes `#[alloc_error_handler]` and the `alloc_error_hook` API.
ACP: https://github.com/rust-lang/libs-team/issues/192
Closes #51540
Closes #51245
2023-04-22 12:27:45 +00:00
Qiu Chaofan
7c8c9cf470
Bump version of object and related crates
2023-04-19 12:42:20 +08:00
Amanieu d'Antras
c9a6e41026
Report allocation errors as panics
2023-04-16 08:35:44 -07:00
William D. Jones
01f49b350d
Update compiler-builtins to 0.1.91 to bring in msp430 shift primitive fixes.
2023-03-30 00:39:49 -04:00