29 Commits

Author SHA1 Message Date
daxpedda
1e8274d34d Remove last mention of stdsimd 2024-02-14 15:08:29 +00:00
Amanieu d'Antras
76d52cdd68 Fix std_detect not being an unstable crate
More fallout from #1486
2024-01-05 11:14:38 +00:00
Amanieu d'Antras
fd973c2765 Fix std build failure on non-x86 architectures
This is more fallout from #1486
2024-01-04 13:00:34 +00:00
Amanieu d'Antras
a600c72f50 Fixes for use in the standard library 2024-01-02 17:46:10 +00:00
ZHAI Xiang
5625c8bf49 std_detect: Add support for LoongArch
Co-authored-by: WANG Rui <wangrui@loongson.cn>
2023-10-31 14:37:10 +01:00
Eduardo Sánchez Muñoz
936583f12c Do not deny clippy::missing_inline_in_public_items in std_detect 2023-10-31 02:20:17 +01:00
Amanieu d'Antras
ea27e5cfcb Fix various compilation errors 2023-10-29 20:39:50 +01:00
Amanieu d'Antras
b8ba57f310 Cleanup last uses of the stdsimd feature 2023-10-29 20:39:50 +01:00
Amanieu d'Antras
21599975ff Add tracking issues for feature detection 2023-10-29 20:39:50 +01:00
Amanieu d'Antras
5161de5da4 Add #![allow(internal_unstable)]
This is required to avoid build failures when using rustc features
intended only for use by the standard library.
2023-08-29 15:21:34 +02:00
Nilstrieb
e41918d76c Allow internal_features 2023-03-19 21:31:00 +01:00
Amanieu d'Antras
efad3ead52 Fix std_detect_file_io 2022-01-24 02:53:45 +00:00
Amanieu d'Antras
f5c59b3514 Handle stabilization of vec_spare_capacity 2022-01-18 15:11:40 +00:00
Amanieu d'Antras
59e7156f6e
Remove asm feature which is now stable (#1269) 2021-12-19 14:43:19 +00:00
Luo Jia
72061cb5f5
RISC-V feature and detect macro (#1263) 2021-12-08 11:41:12 +00:00
Ralf Jung
03e109a2f3
remove unused const_fn feature (#1140) 2021-04-23 16:46:38 +01:00
Joshua Nelson
7bab2c0695
Deny 2018 idiom lints (#1108)
This lint is allow by default, which is why this wasn't spotted earlier.
It's denied by rust-lang/rust, so it's good to warn about it here so it
can be fixed more quickly.
2021-04-07 05:46:39 +01:00
Amanieu d'Antras
72dda3aae0
Fix building std_detect as a dependency of std (#1089) 2021-03-18 20:36:40 +00:00
Amanieu d'Antras
a1e151e838
Convert all uses of llvm_asm! to asm! (#1052) 2021-03-17 01:44:35 +00:00
Amanieu d'Antras
f32f7cb899
Turn std_detect into a no_std crate (#1005) 2021-02-14 22:14:37 +00:00
Amanieu d'Antras
04c1a9a9e9
Use llvm_asm! instead of asm! (#846) 2020-04-09 00:05:10 +01:00
Alex Crichton
036b6348d9 Remove need for #[macro_use] with cfg-if
Modernizes usage of `cfg_if!` slightly
2019-10-10 12:43:27 +02:00
Luca Barbato
ee35b1848e Simplify the std imports 2019-09-17 19:22:18 +02:00
Luca Barbato
6420fa4fb0 Override the features detected using an env::var
Fixes: #804
2019-09-17 19:22:18 +02:00
gnzlbg
686b813f5d Update repo name 2019-07-09 01:37:07 +02:00
gnzlbg
eac0c6c8c1 Migrate clippy lints to tool lints 2019-04-17 14:20:42 +02:00
gnzlbg
e56de7344f Fix wasm32 build job 2019-02-14 03:45:57 +01:00
gnzlbg
ff129bff05 Add cargo features to disable usage of file I/O and dlsym in std_detect 2019-02-09 11:47:38 +01:00
gnzlbg
11c624e488 Refactor stdsimd
This commit:

* renames `coresimd` to `core_arch` and `stdsimd` to `std_detect`

* `std_detect` does no longer depend on `core_arch` - it is a freestanding
  `no_std` library that only depends on `core` - it is renamed to `std_detect`

* moves the top-level coresimd and stdsimd directories into the appropriate
  crates/... directories - this simplifies creating crate.io releases of these crates

* moves the top-level `coresimd` and `stdsimd` sub-directories into their
  corresponding crates in `crates/{core_arch, std_detect}`.
2019-01-22 17:04:25 +01:00