Skip to content

Commit

Permalink
Support browser wasm in compatible pkg tfms task (#7460)
Browse files Browse the repository at this point in the history
Becaues of the default arch value of "-x64", for browser this resolves to "browser-x64" which isn't a supported RID. Defaulting to wasm for browser as a workaround.
  • Loading branch information
ViktorHofer authored May 31, 2021
1 parent 0289da4 commit c7d6bd6
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ public string GetRidsFromPackage(Package package)
if (item.AssetType == AssetType.RuntimeAsset)
{
string testRid = item.Rid;
string testArch = "-x64";
string testArch = testRid == "browser" ? "-wasm" : "-x64";
if (testRid == "unix")
{
if (!rids.Contains("linux" + testArch))
Expand Down

0 comments on commit c7d6bd6

Please sign in to comment.