Skip to content

Commit

Permalink
chore: Update to mono latest
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromelaban committed Apr 9, 2020
1 parent 5516ef4 commit 7d84037
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .vsts-ci-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

variables:
NUGET_PACKAGES: $(build.sourcesdirectory)/.nuget
EMSCRIPTEN_VERSION: 1.39.9
EMSCRIPTEN_VERSION: 1.39.11
NETCORE_VERSION: ${{ parameters.netcore_version }}

steps:
Expand Down
6 changes: 3 additions & 3 deletions src/Uno.Wasm.Bootstrap/Constants.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ namespace Uno.Wasm.Bootstrap
internal class Constants
{
// NOTE: The SDK version may be overriden by an installation of the https://www.nuget.org/packages/Uno.Wasm.MonoRuntime nuget package
public const string DefaultSdkUrl = @"https://unowasmbootstrap.blob.core.windows.net/runtime/mono-wasm-1add5cbc06a.zip";
public const string DefaultAotSDKUrl = "https://unowasmbootstrap.blob.core.windows.net/runtime/wasm-release-Linux-1add5cbc06abc9e911e33a7bc25c6af60d040643.zip";
public const string DefaultSdkUrl = "https://unowasmbootstrap.blob.core.windows.net/runtime/mono-wasm-34cccfa2fde.zip";
public const string DefaultAotSDKUrl = "https://unowasmbootstrap.blob.core.windows.net/runtime/wasm-release-Linux-34cccfa2fde2bf14f3c6da7d68d47773aca0c5f5.zip";

/// <summary>
/// Min version of the emscripten SDK. Must be aligned with mono's SDK build in <see cref="DefaultAotSDKUrl"/>.
Expand All @@ -17,6 +17,6 @@ internal class Constants
/// The emscripten version use by mono can be found here:
/// https://github.com/mono/mono/blob/master/sdks/builds/wasm.mk#L4
/// </remarks>
public static Version EmscriptenMinVersion { get; } = new Version("1.39.9");
public static Version EmscriptenMinVersion { get; } = new Version("1.39.11");
}
}
4 changes: 2 additions & 2 deletions src/Uno.Wasm.Bootstrap/Packager/packager.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ class Driver {

const string BINDINGS_ASM_NAME = "WebAssembly.Bindings";
const string BINDINGS_RUNTIME_CLASS_NAME = "WebAssembly.Runtime";
const string HTTP_ASM_NAME = "WebAssembly.Net.Http";
const string HTTP_ASM_NAME = "System.Net.Http.WebAssemblyHttpHandler";
const string WEBSOCKETS_ASM_NAME = "WebAssembly.Net.WebSockets";
const string BINDINGS_MODULE = "corebindings.o";
const string BINDINGS_MODULE_SUPPORT = "$tool_prefix/src/binding_support.js";
Expand Down Expand Up @@ -1042,7 +1042,7 @@ int Run (string[] args) {
ninja.WriteLine ("build $appdir/dotnet.js: cpifdiff $wasm_runtime_dir/dotnet.js");
ninja.WriteLine ("build $appdir/dotnet.wasm: cpifdiff $wasm_runtime_dir/dotnet.wasm");
if (enable_threads) {
ninja.WriteLine ("build $appdir/mono.worker.js: cpifdiff $wasm_runtime_dir/mono.worker.js");
ninja.WriteLine ("build $appdir/dotnet.worker.js: cpifdiff $wasm_runtime_dir/dotnet.worker.js");
}
}
if (enable_aot)
Expand Down
2 changes: 1 addition & 1 deletion src/Uno.Wasm.Bootstrap/ShellTask.cs
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ string buildRuntimeFlags()

var frameworkBindings = new[] {
"WebAssembly.Bindings.dll",
"WebAssembly.Net.Http.dll",
"System.Net.Http.WebAssemblyHttpHandler.dll",
"WebAssembly.Net.WebSockets.dll",
};

Expand Down

0 comments on commit 7d84037

Please sign in to comment.