Skip to content

Conversation

@mho22
Copy link
Collaborator

@mho22 mho22 commented Dec 9, 2025

Motivation for the change, related issues

Related to #2993

Because of the Emscripten upgrade from 4.0.5 to 4.0.19, a new file appeared when running the virtual filesystem. Mostly invisible until I mounted a directory. This pull request disables the profiling data generated file.

Implementation details

  • Add a root/replace in base-image Dockerfile.
  • Add a test in filesystems.spec.ts

Testing Instructions (or ideally a Blueprint)

CI

or

import { PHP } from '@php-wasm/universal';
import { loadNodeRuntime } from "@php-wasm/node";

const php = new PHP(await loadNodeRuntime('8.4'));

console.log(php.listFiles('/'));
[
  'tmp',
  'home',
  'dev',
  'proc',
  'request',
  'internal',
-  'default.profraw'
]

@mho22 mho22 marked this pull request as ready for review December 9, 2025 12:24
@adamziel adamziel merged commit 3d50af9 into trunk Dec 9, 2025
32 checks passed
@adamziel adamziel deleted the remove-default-profraw-file-generation branch December 9, 2025 13:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants