Skip to content

Commit bb218b5

Browse files
committed
Fix default feature breakage
A recent change (1d3a8af) made it so some previous code using `SerialPort::new()` wouldn't compile if the user was using the default feature set. Fixing this to just be `default = [ "nightly" ]` sets the same features for `x86_64`, while preventing breakage. See: cloud-hypervisor/rust-hypervisor-firmware#66 Signed-off-by: Joe Richey <[email protected]>
1 parent ae67095 commit bb218b5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ bitflags = "1.1.0"
1212
x86_64 = { version = "0.12.2", default-features = false, features = ["instructions"] }
1313

1414
[features]
15-
default = [ "x86_64/default" ]
15+
default = [ "nightly" ]
1616
stable = [ "x86_64/external_asm" ]
1717
nightly = [ "x86_64/nightly" ]
1818

0 commit comments

Comments
 (0)