#native #host #machine #generator #cranelift

no-std cranelift-native

Support for targeting the host with Cranelift

31 breaking releases

✓ Uses Rust 2018 edition

new 0.45.0 Oct 9, 2019
0.43.1 Sep 20, 2019
0.37.0 Jul 27, 2019
0.30.0 Mar 26, 2019
0.17.0 Jul 24, 2018

#17 in No standard library

Download history 1150/week @ 2019-06-26 960/week @ 2019-07-03 807/week @ 2019-07-10 688/week @ 2019-07-17 725/week @ 2019-07-24 1735/week @ 2019-07-31 1367/week @ 2019-08-07 1135/week @ 2019-08-14 1567/week @ 2019-08-21 1332/week @ 2019-08-28 1406/week @ 2019-09-04 1992/week @ 2019-09-11 2323/week @ 2019-09-18 2443/week @ 2019-09-25 1632/week @ 2019-10-02

6,304 downloads per month
Used in 22 crates (11 directly)

Apache-2.0 WITH LLVM-exception

1.5MB
27K SLoC

This crate performs autodetection of the host architecture, which can be used to configure Cranelift to generate code specialized for the machine it's running on.


lib.rs:

Performs autodetection of the host for the purposes of running Cranelift to generate code to run on the same machine.

Dependencies

~1.1–1.7MB
~38K SLoC