compiler-interrupts
compiler-interrupts
provides Rust API for the Compiler Interrupts library.
Check out the Compiler Interrupts main repository for more info.
Requirements
- Rust 1.45.0 or later is required.
Due to the usage of
#[thread_local]
unstable feature, this package currently requires nightly Rust.
Getting started
Add this to your Cargo.toml
.
[]
= "1.0"
Register the Compiler Interrupts handler in your program.
static mut prev_ic: i64 = 0;
If you have cargo-compiler-interrupts
installed,
you can now run cargo build-ci
to start the compilation and integration.
Check out the documentation for more info about the API.
Contribution
All issue reports, feature requests, pull requests and GitHub stars are welcomed and much appreciated.
Author
Quan Tran (@quanshousio)
Acknowledgements
- My advisor Jakob Eriksson for the enormous support for this project.
- Nilanjana Basu for implementing the Compiler Interrupts.
License
compiler-interrupts
is available under the MIT license.
See the LICENSE file for more info.