Disable some example which don't compile yet
This commit is contained in:
parent
7f2a887c83
commit
7f2a8f8a66
3 changed files with 10 additions and 7 deletions
|
@ -99,6 +99,7 @@ mod prelude {
|
|||
pub use crate::{CodegenCx, ModuleTup};
|
||||
|
||||
pub fn should_codegen(sess: &Session) -> bool {
|
||||
//return true;
|
||||
::std::env::var("SHOULD_CODEGEN").is_ok()
|
||||
|| sess.crate_types.get().contains(&CrateType::Executable)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue