Elide existing main function when building a test runner. Issue #428
This prevents any defined main function from colliding with the one synthesized for the test runner. This is not the best solution since it doesn't compile a function the user defined, but I don't think it's likely to be a problem in the near term.
This commit is contained in:
parent
41a3888da7
commit
73e6a4f9e5
2 changed files with 25 additions and 1 deletions
|
|
@ -12,6 +12,7 @@ export dummy_out;
|
|||
export noop_fold_crate;
|
||||
export noop_fold_item;
|
||||
export noop_fold_expr;
|
||||
export noop_fold_mod;
|
||||
|
||||
type ast_fold = @mutable a_f;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue