asmtest
A library for tracking generated assemblies.
See atomic-maybe-uninit#55 for an usage example.
Exclude generated assemblies from GitHub's language stats
By marking generated assemblies directory as linguist-detectable=false in .gitattributes (example), you can exclude generated assemblies from GitHub's language stats.
Compatibility
All CPU architectures supported by Rust (x86, x86_64, Arm, AArch64, RISC-V, LoongArch, Arm64EC, s390x, MIPS, PowerPC, MSP430, AVR, SPARC, Hexagon, M68k, C-SKY, and Xtensa) have been confirmed to work as targets for generating assembly. Pull requests adding support for other architectures (such as GPU, WASM, BPF, etc.) are welcome.
x86_64 and AArch64 environments where all of the following commands are available are currently supported as host environments:
cargodocker
The exact content of the assembly output depends on both the version of the compiler and the version of this library. You may want to pin these versions to ensure that CI does not break when new versions are released.
License
Licensed under either of Apache License, Version 2.0 or MIT license at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.