File tree Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Expand file tree Collapse file tree 2 files changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -15,17 +15,15 @@ panic = "abort"
1515lto = 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
2121log-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.
2424log-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 ]
3129cpuio = " *"
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ mod virtio;
4040
4141#[ cfg( all( not( test) , feature = "rom" ) ) ]
4242global_asm ! ( include_str!( "asm/rom.s" ) ) ;
43- #[ cfg( all ( not( test) , feature = "ram32" ) ) ]
43+ #[ cfg( not( test) ) ]
4444global_asm ! ( include_str!( "asm/ram32.s" ) ) ;
4545#[ cfg( not( test) ) ]
4646global_asm ! ( include_str!( "asm/ram64.s" ) ) ;
You can’t perform that action at this time.
0 commit comments