-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
Cargo.toml
96 lines (86 loc) · 2.8 KB
/
Cargo.toml
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
[workspace]
members = [
"kernel",
"libs/*",
"loader",
"loader/api",
"loader/api/macros",
"libs/ktest/macros"
]
resolver = "2"
[workspace.package]
version = "0.1.0"
edition = "2021"
authors = ["Jonas Kruckenberg <[email protected]>"]
license = "MIT"
[workspace.lints.clippy]
large_futures = "deny"
large_stack_frames = "deny"
large_stack_arrays = "deny"
recursive_format_impl = "deny"
[workspace.dependencies]
kernel = { path = "kernel" }
loader-api = { path = "loader/api" }
backtrace = { path = "libs/backtrace" }
dtb-parser = { path = "libs/dtb-parser" }
kmm = { path = "libs/kmm" }
ktest = { path = "libs/ktest" }
linked-list-allocator = { path = "libs/linked-list-allocator" }
panic-abort = { path = "libs/panic-abort" }
panic-common = { path = "libs/panic-common" }
panic-unwind = { path = "libs/panic-unwind" }
riscv = { path = "libs/riscv" }
semihosting-logger = { path = "libs/semihosting-logger" }
sync = { path = "libs/sync" }
thread-local = { path = "libs/thread-local" }
unwind2 = { path = "libs/unwind2" }
leb128 = { path = "libs/leb128" }
wasm-encoder = { path = "libs/wasm-encoder" }
wast = { path = "libs/wast" }
cfg-if = "1.0.0"
lock_api = "0.4.12"
log = "0.4.21"
bitflags = "2.6.0"
onlyerror = { version = "0.1.4", default-features = false }
arrayvec = { version = "0.7.4", default-features = false }
lz4_flex = { version = "0.11", default-features = false }
object = { version = "0.36.4", default-features = false }
gimli = { version = "0.31.0", default-features = false, features = ["read"] }
talc = "4.4.1"
# wast dependencies
bumpalo = "3.14.0"
unicode-width = { version = "0.2.0" }
memchr = { version = "2.4.1", default-features = false }
# cranelift dependencies
hashbrown = { version = "0.14.5", default-features = false, features = [
"inline-more",
"nightly",
] }
wasmparser = { version = "0.216.0", default-features = false }
target-lexicon = { version = "0.12.14", default-features = false }
cranelift-wasm = { git = "https://github.com/JonasKruckenberg/wasmtime", branch = "no_std3", default-features = false, features = [
"core",
] }
cranelift-codegen = { git = "https://github.com/JonasKruckenberg/wasmtime", branch = "no_std3", default-features = false, features = [
"core",
"host-arch",
] }
cranelift-frontend = { git = "https://github.com/JonasKruckenberg/wasmtime", branch = "no_std3", default-features = false, features = [
"core",
] }
cranelift-entity = { git = "https://github.com/JonasKruckenberg/wasmtime", branch = "no_std3", default-features = false }
# build dependencies
proc-macro2 = "1"
quote = "1"
syn = { version = "2", features = ["full"] }
[profile.release]
opt-level = 3
codegen-units = 1
lto = true
strip = true
overflow-checks = true
split-debuginfo = "packed"
[profile.dev.package.lz4_flex]
opt-level = 3
[profile.test.package.lz4_flex]
opt-level = 3