File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ test = false
2626bench = false
2727
2828[dependencies ]
29- blake3 = { version = " 1.8.3" , default-features = false , features = [ " pure " ] }
29+ blake3 = { version = " 1.8.3" , default-features = false }
3030spin = " 0.5.2"
3131linked_list_allocator = " 0.9.0"
3232
@@ -49,13 +49,19 @@ version = "0.2"
4949default-features = false
5050
5151[target .'cfg(target_arch = "x86_64")' .dependencies ]
52+ # x86 kernel is soft-float / no-SSE, so BLAKE3 stays pure-Rust here.
53+ blake3 = { version = " 1.8.3" , default-features = false , features = [" pure" ] }
5254bootloader = { version = " 0.9" , features = [" map_physical_memory" ] }
5355volatile = " 0.2.6"
5456x86_64 = " 0.14.2"
5557uart_16550 = " 0.2.0"
5658pic8259 = " 0.10.1"
5759pc-keyboard = " 0.7.0"
5860
61+ [target .'cfg(target_arch = "aarch64")' .dependencies ]
62+ # ARM boot already enables FP/SIMD at EL1 (CPACR_EL1), so NEON is usable.
63+ blake3 = { version = " 1.8.3" , default-features = false , features = [" neon" ] }
64+
5965[package .metadata .bootimage ]
6066test-args = [
6167 " -device" ,
@@ -68,4 +74,4 @@ test-args = [
6874test-success-exit-code = 33
6975
7076[build-dependencies ]
71- ar = " 0.9"
77+ ar = " 0.9"
You can’t perform that action at this time.
0 commit comments