Skip to content

Commit

Permalink
Merge pull request #600 from unoplatform/mergify/bp/release/stable/7.…
Browse files Browse the repository at this point in the history
…0/pr-597

fix: Report failure properly on linker errors (backport #597)
  • Loading branch information
jeromelaban committed Nov 1, 2022
2 parents f9d4b12 + d37a116 commit efda6a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Uno.Wasm.Packager/packager.cs
Expand Up @@ -1336,7 +1336,7 @@ class WasmOptions {
var linkerSearchPaths = root_search_paths.Concat(bcl_prefixes).Distinct().Select(p => $"-d \"{p}\" ");

var tunerCommand = is_netcore ? $"dotnet $tools_dir{Path.DirectorySeparatorChar}wasm-tuner.dll" : "mono $tools_dir/wasm-tuner.exe";
var exitCommand = is_windows ? "" : "|| exit 1";
var exitCommand = is_windows ? failOnError : "|| exit 1";

linker_args.Add($"-out ./linker-out --deterministic --disable-opt unreachablebodies");
linker_args.Add($"--strip-link-attributes");
Expand Down

0 comments on commit efda6a5

Please sign in to comment.