Commit 3d50af9
authored
[ php-wasm ] Disable profiling data file generation at runtime (#2998)
## 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
```javascript
import { PHP } from '@php-wasm/universal';
import { loadNodeRuntime } from "@php-wasm/node";
const php = new PHP(await loadNodeRuntime('8.4'));
console.log(php.listFiles('/'));
```
```diff
[
'tmp',
'home',
'dev',
'proc',
'request',
'internal',
- 'default.profraw'
]
```1 parent 9fc58f7 commit 3d50af9
File tree
75 files changed
+243
-559
lines changed- packages
- php-wasm
- compile/base-image
- node
- asyncify
- 7_2_34
- 7_3_33
- 7_4_33
- 8_0_30
- 8_1_33
- 8_2_29
- 8_3_28
- 8_4_15
- 8_5_0
- jspi
- 7_2_34
- 7_3_33
- 7_4_33
- 8_0_30
- 8_1_33
- 8_2_29
- 8_3_28
- 8_4_15
- 8_5_0
- web/public/php
- asyncify
- 7_2_34
- 7_3_33
- 7_4_33
- 8_0_30
- 8_1_33
- 8_2_29
- 8_3_28
- 8_4_15
- 8_5_0
- jspi
- 7_2_34
- 7_3_33
- 7_4_33
- 8_0_30
- 8_1_33
- 8_2_29
- 8_3_28
- 8_4_15
- 8_5_0
- playground/storage/src/lib
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
75 files changed
+243
-559
lines changed| Original file line number | Diff line number | Diff line change |
|---|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
0 commit comments