├── .github └── workflows │ └── rust.yml ├── Cargo.lock ├── Cargo.toml ├── LICENSE ├── README.md ├── examples ├── closures │ └── main.rs ├── lowering-structs │ ├── lower.rs │ ├── main.rs │ └── types.rs ├── output-a-binary │ └── main.rs ├── struct-layouts │ └── main.rs └── tagged-union-layouts │ └── main.rs └── src └── lib.rs /.github/workflows/rust.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simvux/cranelift-examples/HEAD/.github/workflows/rust.yml -------------------------------------------------------------------------------- /Cargo.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simvux/cranelift-examples/HEAD/Cargo.lock -------------------------------------------------------------------------------- /Cargo.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simvux/cranelift-examples/HEAD/Cargo.toml -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simvux/cranelift-examples/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simvux/cranelift-examples/HEAD/README.md -------------------------------------------------------------------------------- /examples/closures/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simvux/cranelift-examples/HEAD/examples/closures/main.rs -------------------------------------------------------------------------------- /examples/lowering-structs/lower.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simvux/cranelift-examples/HEAD/examples/lowering-structs/lower.rs -------------------------------------------------------------------------------- /examples/lowering-structs/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simvux/cranelift-examples/HEAD/examples/lowering-structs/main.rs -------------------------------------------------------------------------------- /examples/lowering-structs/types.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simvux/cranelift-examples/HEAD/examples/lowering-structs/types.rs -------------------------------------------------------------------------------- /examples/output-a-binary/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simvux/cranelift-examples/HEAD/examples/output-a-binary/main.rs -------------------------------------------------------------------------------- /examples/struct-layouts/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simvux/cranelift-examples/HEAD/examples/struct-layouts/main.rs -------------------------------------------------------------------------------- /examples/tagged-union-layouts/main.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simvux/cranelift-examples/HEAD/examples/tagged-union-layouts/main.rs -------------------------------------------------------------------------------- /src/lib.rs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/simvux/cranelift-examples/HEAD/src/lib.rs --------------------------------------------------------------------------------