-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[wasm] Enable dedup by default. (#80260)
* [wasm] Enable dedup by default. * [wasm] Enable symbol map for AOT tests too * MonoAOTCompiler: Fix up the path for the output items if they had been .. copied to `aot-in` for the compilation step. Example: - when using WasmDedup=true, we get the main assemblies in `publish` directory after linking, but `aot-instances.dll` is in different directory. - this causes `MonoAOTCompiler` to copy all of them to a temporary `aot-in` dir for compiling with `mono-aot-cross`. - And when the output items are set, we get: ``` Output Item(s): _WasmAssembliesInternal= obj/Debug/net8.0/browser-wasm/wasm/for-publish/aot-in/Debug_u4nbxx3i.gc5.dll LlvmBitcodeFile=obj/Debug/net8.0/browser-wasm/wasm/for-publish/Debug_u4nbxx3i.gc5.dll.bc ``` - here the `ItemSpec` is incorrectly set to the temporary `aot-in` path - which can cause build failures in the following build steps * WBT: remove redundant case Co-authored-by: Ankit Jain <[email protected]>
- Loading branch information
Showing
4 changed files
with
11 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters