Skip to content

Commit

Permalink
compiler: fix crash
Browse files Browse the repository at this point in the history
closes #216
  • Loading branch information
CanadaHonk committed Dec 17, 2024
1 parent 5ba1f62 commit d35ac05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion compiler/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export default (code, module = undefined) => {
let target = Prefs.target ?? 'wasm';
if (Prefs.native) target = 'native';

const outFile = Prefs.o;
let outFile = Prefs.o;
const logProgress = Prefs.profileCompiler || (Prefs.target && outFile && !Prefs.native && globalThis.file);

globalThis.valtype = Prefs.valtype ?? 'f64';
Expand Down
2 changes: 1 addition & 1 deletion test262/history.json

Large diffs are not rendered by default.

0 comments on commit d35ac05

Please sign in to comment.