aboutsummaryrefslogtreecommitdiff
path: root/Cargo.toml
blob: 700e7ee93129c449a10e67e730ce9bfc8b2490de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
[package]
name = "rustubs"
version = "0.1.0"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
spin = "0.9.8"

[dependencies.lazy_static]
version = "1.4"
features = ["spin_no_std"]


[build]
target = "x86_64-rustubs"

[lib]
crate-type = ["staticlib"]

[profile.dev]
panic = "abort"
debug = 1
lto = true

[profile.release]
panic = "abort"
#opt-level = 0
opt-level = 3
debug = 0
overflow-checks = false
lto = true
codegen-units = 1
debug-assertions = false