bevy/tools
Zachary Harrold aa5e93d0bf
Add compile-check-no-std Command to CI Tool (#15843)
# Objective

- Fixes #15840

## Solution

Added a new subcommand to the CI tool, `compile-check-no-std`, which
will attempt to compile each `no_std` crate in Bevy with the appropriate
features (no-defaults, `libm`, etc.) for `x86_64-unknown-none`. The
exact target chosen could be changed to any reasonable platform which
does not include the `std` library.

The currently tested crates are:

- `bevy_ptr`
- `bevy_utils`
- `bevy_mikktspace`

As more crates have `no_std` support added, they _should_ be added to
this CI command. Once Bevy itself can be `no_std`, the individual checks
can be replaced with just checking Bevy, since it will transiently check
all other crates as appropriate.

## Testing

- Ran CI. From a clean target directory (`cargo clean`), these new
checks take approximately 10 seconds total.

---------

Co-authored-by: François Mockers <francois.mockers@vleue.com>
2024-10-11 10:54:44 +00:00
..
build-templated-pages Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
build-wasm-example Fix common capitalization errors in documentation (#14562) 2024-07-31 21:16:05 +00:00
ci Add compile-check-no-std Command to CI Tool (#15843) 2024-10-11 10:54:44 +00:00
compile_fail_utils compile_fail_utils: Verify path exists (#14827) 2024-08-22 16:54:26 +00:00
example-showcase Add core and alloc over std Lints (#15281) 2024-09-27 00:59:59 +00:00
publish.sh Add new crates to publish.sh (#15700) 2024-10-07 18:46:13 +00:00