Skip to content

Commit 5a10434

Browse files
committed
Don't mention feature inline_asm in error message
While it's technically the feature that is required, it could confuse users, especially when `x86_64` is used as a dependency of other crates. For example, the `uart_16550` crate only exposes the `stable`/`nightly` features of `x86_64`, but not `inline_asm`.
1 parent 4aa3ac8 commit 5a10434

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ fn main() {}
33

44
#[cfg(all(not(feature = "inline_asm"), not(feature = "stable")))]
55
fn main() {
6-
compile_error!("Neither feature \"stable\" nor \"inline_asm\" was set!");
6+
compile_error!("Neither feature \"stable\" nor \"nightly\" was set!");
77
}
88

99
#[cfg(all(not(feature = "inline_asm"), feature = "stable"))]

0 commit comments

Comments
 (0)