Go to file
2016-04-13 07:32:32 -06:00
src Store AllocIds directly in allocation map. 2016-04-09 19:31:53 -06:00
test readme: Add build and run instructions. 2016-04-13 07:32:32 -06:00
tex report: Credit where it's due. 2016-04-13 06:15:02 -06:00
.gitignore Move slides into new tex directory. 2016-04-08 13:25:36 -06:00
Cargo.lock WIP: Switching to a new byte-based value representation. 2016-02-27 19:20:25 -06:00
Cargo.toml WIP: Switching to a new byte-based value representation. 2016-02-27 19:20:25 -06:00
LICENSE-APACHE Add licenses and readme. 2016-02-02 04:47:28 -06:00
LICENSE-MIT Add licenses and readme. 2016-02-02 04:47:28 -06:00
README.md readme: Add build and run instructions. 2016-04-13 07:32:32 -06:00

Miri

An experimental interpreter for Rust's mid-level intermediate representation (MIR). This project began as a part of my course work for an undergraduate research course at the University of Saskatchewan.

Download Rust nightly

I currently recommend that you install multirust and then use it to install the current rustc nightly version that works with Miri:

multirust update nightly-2016-04-05

Build

multirust run nightly-2016-04-05 cargo build

Run a test

multirust run nightly-2016-04-05 cargo run -- \
  --sysroot $HOME/.multirust/toolchains/nightly-2016-04-05
  test/filename.rs

If you installed without using multirust, you'll need to adjust the command to run your cargo and set the sysroot to the directory where your rust compiler is installed ($sysroot/bin/rustc should be a valid path).

License

Licensed under either of

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you shall be dual licensed as above, without any additional terms or conditions.