Commit 1c79c3f
Plumb extra 'requireMain' flag through kernel builder entry point.
This is the method used by dart2wasm to generate a kernel from a source URI. For dynamic modules, the source will, by design, not include a 'main' function.
Without this flag the CFE will exit early with an error while compiling the source.
Change-Id: I1b66f7c0052ead80f5e555555d19a1b8a0cb590f
Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/400920
Reviewed-by: Johnni Winther <[email protected]>
Commit-Queue: Nate Biggs <[email protected]>1 parent 652794d commit 1c79c3f
1 file changed
+3
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
| 46 | + | |
46 | 47 | | |
47 | | - | |
| 48 | + | |
48 | 49 | | |
49 | 50 | | |
50 | 51 | | |
| |||
0 commit comments