Skip to content

Commit fbd30ed

Browse files
author
T. Andrew Davis
committed
test fixup
1 parent 0ec4916 commit fbd30ed

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

bootloader/Cargo.toml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,13 @@ edition.workspace = true
55
authors.workspace = true
66
license.workspace = true
77

8+
# no_main UEFI bin: no host test harness (its #[panic_handler] collides with std's).
9+
[[bin]]
10+
name = "morpheus-bootloader"
11+
path = "src/main.rs"
12+
test = false
13+
bench = false
14+
815
[dependencies]
916
# Shared kernel↔userland ABI: storage FS_*/MNT_*/VOLUME_NONE consts for the
1017
# boot registry population + privileged root mount (spec §7).

libmorpheus/Cargo.toml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ authors.workspace = true
66
license.workspace = true
77
description = "Userspace library for MorpheusX — syscall wrappers, I/O, FS API"
88

9+
# Userland-target lib with a default-on #[panic_handler]: no host test harness
10+
# (it collides with std's panic_impl under `cargo test`).
11+
[lib]
12+
test = false
13+
doctest = false
14+
915
[features]
1016
# `panic-handler` (default) emits the library's own `#[panic_handler]` (see
1117
# `entry::_panic`). It is default-on so libmorpheus's own binaries keep it. A

0 commit comments

Comments
 (0)