From eba74d74502641a4565dc6011db33742e8450680 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Tue, 24 Nov 2020 15:08:20 +0100 Subject: move rust "libc" to separate crate and link with that instead --- halt-rs/Cargo.toml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 halt-rs/Cargo.toml (limited to 'halt-rs/Cargo.toml') diff --git a/halt-rs/Cargo.toml b/halt-rs/Cargo.toml new file mode 100644 index 0000000..7486789 --- /dev/null +++ b/halt-rs/Cargo.toml @@ -0,0 +1,23 @@ +[package] +name = "pintos-rs" +version = "0.1.0" +authors = ["Gustav Sörnäs "] +edition = "2018" + +[lib] +name = "haltrs" +crate-type = ["staticlib"] + +[profile.dev] +panic = "abort" + +[profile.release] +panic = "abort" + +[dependencies.libc] +version = "0.2" +default-features = false +features = ["extra_traits"] + +[dependencies.libpintos] +path = "../libpintos-rs" -- cgit v1.2.1