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 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
- const outFile = Prefs.o;
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 ?? 'Ofast';
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
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "porffor",
3
3
  "description": "a basic experimental wip aot optimizing js -> wasm engine/compiler/runtime in js",
4
- "version": "0.55.6",
4
+ "version": "0.55.7",
5
5
  "author": "CanadaHonk",
6
6
  "license": "MIT",
7
7
  "scripts": {},
package/runner/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  #!/usr/bin/env node
2
2
  import fs from 'node:fs';
3
- globalThis.version = '0.55.6';
3
+ globalThis.version = '0.55.7';
4
4
 
5
5
  // deno compat
6
6
  if (typeof process === 'undefined' && typeof Deno !== 'undefined') {