Fix no_function build.

This commit is contained in:
Stephen Chung
2022-01-28 22:37:59 +08:00
parent cd4335a16f
commit 4ee6657b9d
3 changed files with 4 additions and 4 deletions

View File

@@ -283,6 +283,7 @@ fn main() {
println!("{}", f)
}
#[cfg(not(feature = "no_function"))]
for f in main_ast.iter_functions() {
println!("{}", f)
}