blob: 3a92c9b1c22afb162b3f129e9abc35abca932029 (
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
36
37
38
39
40
41
42
43
44
45
46
47
48
|
[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"
bitflags = "2.4.2"
[dependencies.bit-vec]
version = "0.6.3"
default-features = false
[dependencies.num_enum]
version = "0.7.2"
default-features = false
# rebuild components, instead of using the prebuilt ones.
# see https://os.phil-opp.com/heap-allocation/#the-allocator-interface
# [unstable]
# build-std = ["core", "compiler_builtins", "alloc"]
[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
|