Change a #[cfg()] to a cfg!()
This commit is contained in:
parent
6135b2dff5
commit
bf0eb6a22d
@ -246,8 +246,7 @@ macro_rules! controller_entry_point {
|
||||
})??
|
||||
};
|
||||
|
||||
#[cfg(not(feature="llvm"))]
|
||||
{
|
||||
if cfg!(not(feature="llvm")) {
|
||||
let (_, _) = (outputs, trans);
|
||||
sess.fatal("LLVM is not supported by this rustc");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user