Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/james7132/bevy_asm_tests

Assembly output tests for bevy_ecs
https://github.com/james7132/bevy_asm_tests

Last synced: about 2 months ago
JSON representation

Assembly output tests for bevy_ecs

Awesome Lists containing this project

README

        

# Bevy Assembly Tests

This is a collection of compilation tests to check the assembly output of common
ECS operations in Bevy.

This repo will be updated with every release of Bevy, and may track any major
changes Bevy ECS on main.

Currently, the tests are only built in release mode, with LTO enabled, for
`x86_64-unknown-linux-gnu` using the latest stable Rust toolchain and standard library
(currently 1.76). Please file an issue asking if you would like to test against other
platforms or toolchains.

The source code for each example case can be found in the `examples/` directory, and
final output for each case can be found in `results/`.

## Building Locally
The output can be built locally with the following command:

```bash
./run.sh
```

The assembly output will be automatically written to the `target/release/examples`
directory and hae a `*.s` file extension. The example name may be suffixed with
a source hash.

You may need to have [`rustfilt`](https://crates.io/crates/rustfilt) installed,
which the script uses to clean up the mangled names in the output.

## License
MIT / Apache 2.0