porffor 0.55.6 → 0.55.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/compiler/index.js +2 -2
- package/package.json +1 -1
- package/runner/index.js +1 -1
package/compiler/index.js
CHANGED
@@ -67,7 +67,7 @@ export default (code, module = undefined) => {
|
|
67
67
|
let target = Prefs.target ?? 'wasm';
|
68
68
|
if (Prefs.native) target = 'native';
|
69
69
|
|
70
|
-
|
70
|
+
let outFile = Prefs.o;
|
71
71
|
const logProgress = Prefs.profileCompiler || (Prefs.target && outFile && !Prefs.native && globalThis.file);
|
72
72
|
|
73
73
|
globalThis.valtype = Prefs.valtype ?? 'f64';
|
@@ -243,7 +243,7 @@ export default (code, module = undefined) => {
|
|
243
243
|
outFile ??= Prefs.native ? './porffor_tmp' : file.split('/').at(-1).split('.')[0];
|
244
244
|
|
245
245
|
let compiler = Prefs.compiler ?? 'clang';
|
246
|
-
const cO = Prefs._cO ?? '
|
246
|
+
const cO = Prefs._cO ?? 'O3';
|
247
247
|
|
248
248
|
if (compiler === 'zig') compiler = [ 'zig', 'cc' ];
|
249
249
|
else compiler = [ compiler ];
|
package/package.json
CHANGED