Skip to main content

Crate asmtest

Crate asmtest 

Source
Expand description

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:

  • cargo
  • docker

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.

Structs§

Revision
Tester