TAAFT
Free mode
100% free
Freemium
Free Trial
Deals

mir2cretonne

sunfishcode / mir2cranelift

Rust MIR to Cranelift IL translator (inactive; soon to be replaced)

8 1 Language: Rust License: Apache-2.0 Updated: 3y ago

README

mir2cretonne

Rust MIR to Cretonne IL translator

This is an early experiment and doesn't do anything useful yet.

Hacking notes

rustup default nightly

cargo run -q -- rust-examples/nocore-hello-world.rs

RUST_LOG=mir2cretonne cargo run -q -- rust-examples/nocore-hello-world.rs

rustc -Z unstable-options --unpretty=mir rust-examples/nocore-hello-world.rs

Resources

License

Licensed under either of

  • Apache License, Version 2.0, (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
  • MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)

at your option.

Contribution

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.

0 AIs selected
Clear selection
#
Name
Task