adambratschikaye opened PR #10650 from adambratschikaye:abk/strip-path-prefixes to bytecodealliance:main:
Allow codegen to remove certain prefixes from source file paths when printing the paths in generated files. This currently is only applied to the
OUT_DIRand allows generated code to be deterministic.This resolves https://github.com/bytecodealliance/wasmtime/issues/10639 and the issue with comments mentioned in https://github.com/bytecodealliance/wasmtime/issues/9553. It is a variation on the solution proposed in https://github.com/bytecodealliance/wasmtime/pull/9580 (instead of removing prefixes when printing names, they are removed in the constructor
Files::from_paths).
adambratschikaye requested abrown for a review on PR #10650.
adambratschikaye requested wasmtime-compiler-reviewers for a review on PR #10650.
github-actions[bot] commented on PR #10650:
Subscribe to Label Action
cc @cfallin, @fitzgen
<details>
This issue or pull request has been labeled: "cranelift", "isle"Thus the following users have been cc'd because of the following labels:
- cfallin: isle
- fitzgen: isle
To subscribe or unsubscribe from this label, edit the <code>.github/subscribe-to-label.json</code> configuration file.
Learn more.
</details>
alexcrichton submitted PR review.
alexcrichton merged PR #10650.
Last updated: Dec 06 2025 at 06:05 UTC