Skip to content

Commit 7826a04

Browse files
committed
cargo: Remove "ram32" crate feature
Signed-off-by: Joe Richey <joerichey@google.com>
1 parent 2312b15 commit 7826a04

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

Cargo.toml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,15 @@ panic = "abort"
1515
lto = true
1616

1717
[features]
18-
default = ["log-serial", "log-panic", "ram32", "rom"]
18+
default = ["log-serial", "log-panic", "rom"]
1919
# Have the log! macro write to serial output. Disabling this significantly
2020
# reduces code size, but makes debugging essentially impossible
2121
log-serial = []
2222
# Log panics to serial output. Disabling this (without disabling log-serial)
2323
# gets you most of the code size reduction, without losing _all_ debugging.
2424
log-panic = ["log-serial"]
25-
# Support launching the firmware from 32-bit unpaged protected mode.
26-
ram32 = []
2725
# Support builing the firmware as a BIOS ROM (i.e. starting in real mode).
28-
rom = ["ram32"]
26+
rom = []
2927

3028
[dependencies]
3129
cpuio = "*"

src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ mod virtio;
4040

4141
#[cfg(all(not(test), feature = "rom"))]
4242
global_asm!(include_str!("asm/rom.s"));
43-
#[cfg(all(not(test), feature = "ram32"))]
43+
#[cfg(not(test))]
4444
global_asm!(include_str!("asm/ram32.s"));
4545
#[cfg(not(test))]
4646
global_asm!(include_str!("asm/ram64.s"));

0 commit comments

Comments
 (0)