diff options
| author | Gustav Sörnäs <gustav@sornas.net> | 2020-11-23 14:32:44 +0100 |
|---|---|---|
| committer | Gustav Sörnäs <gustav@sornas.net> | 2020-11-23 14:32:44 +0100 |
| commit | 040bac6ad8104ce087784110ee43fc419bc03420 (patch) | |
| tree | ec79769cb18d6b031a83e21c9973b59280e4022e /halt/Cargo.toml | |
| parent | 3f7102d7193d3c0f6cdda8e3106aac77188bb475 (diff) | |
| download | pintos-rs-040bac6ad8104ce087784110ee43fc419bc03420.tar.gz | |
compile rust to static library
Diffstat (limited to 'halt/Cargo.toml')
| -rw-r--r-- | halt/Cargo.toml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/halt/Cargo.toml b/halt/Cargo.toml index 160a513..14c75e0 100644 --- a/halt/Cargo.toml +++ b/halt/Cargo.toml @@ -4,6 +4,10 @@ version = "0.1.0" authors = ["Gustav Sörnäs <gustav@sornas.net>"] edition = "2018" +[lib] +name = "halt" +crate-type = ["staticlib"] + # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [profile.dev] @@ -11,6 +15,7 @@ panic = "abort" [profile.release] panic = "abort" +lto = true [dependencies.libc] version = "0.2" |
