rust/src/ci
Matthias Krüger 4abf179b14
Rollup merge of #125011 - diondokter:opt-for-size, r=Amanieu,kobzol
Add opt-for-size core lib feature flag

Adds a feature flag to the core library that enables the possibility to have smaller implementations for certain algorithms.

So far, the core lib has traded performance for binary size. This is likely what most people want since they have big simd-capable machines. However, people on small machines, like embedded devices, don't enjoy the potential speedup of the bigger algorithms, but do have to pay for them. These microcontrollers often only have 16-1024kB of flash memory.

This PR is the result of some talks with project members like `@Amanieu` at RustNL.
There are some open questions of how this is eventually stabilized, but it's a similar question as with the existing `panic_immediate_abort` feature.

Speaking as someone from the embedded side, we'd rather have this unstable for a while as opposed to not having it at all. In the meantime we can try to use it and also add additional PRs to the core lib that uses the feature flag in areas where we find benefit.

Open questions from my side:
- Is this a good feature name?
  - `panic_immediate_abort` is fairly verbose, so I went with something equally verbose
  - It's easy to refactor later
- I've added the feature to `std` and `alloc` as well as they might benefit too. Do we agree?
  - I expect these to get less usage out of the flag since most size-constraint projects don't use these libraries often.
2024-05-21 12:47:04 +02:00
..
docker Rollup merge of #125011 - diondokter:opt-for-size, r=Amanieu,kobzol 2024-05-21 12:47:04 +02:00
github-actions Auto merge of #124985 - dpaoliello:rebalance, r=Mark-Simulacrum 2024-05-20 11:30:58 +00:00
scripts Upgrade the version of Clang used in the build, move MSVC builds to Server 2022 2024-05-09 12:18:09 -07:00
channel move the current channel to src/ci/channel 2021-05-06 17:11:12 +02:00
cpu-usage-over-time.py Apply changes to fix python linting errors 2023-06-16 20:56:01 -04:00
publish_toolstate.sh more toolstate comments 2020-03-04 08:30:26 -08:00
run.sh Changes to CI related to mingw and MSYS 2024-02-16 09:26:30 +00:00
shared.sh Changes to CI related to mingw and MSYS 2024-02-16 09:26:30 +00:00