From bee7be762f4534d99dd8e706194c3869705b0a4f Mon Sep 17 00:00:00 2001 From: bunnie Date: Sat, 30 Nov 2024 02:22:01 +0800 Subject: [PATCH] pass the verilator-only flag on to the cramium-hal dependency in kernel --- kernel/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/kernel/Cargo.toml b/kernel/Cargo.toml index 3605ad1cf..7ec1ed7d2 100644 --- a/kernel/Cargo.toml +++ b/kernel/Cargo.toml @@ -45,6 +45,7 @@ unexpected_cfgs = { level = "warn", check-cfg = ['cfg(ci)', 'cfg(baremetal)'] } [features] cramium-soc = ["utralib/cramium-soc", "cramium-hal", "rand_chacha", "raw-trng"] +verilator-only = ["cramium-hal/verilator-only"] cramium-fpga = ["utralib/cramium-fpga"] board-baosec = ["cramium-hal/board-baosec"] board-baosor = ["cramium-hal/board-baosor"]