Use python 3, fix typo, prevent inlining
rm -rf bin
run:
- cd bin/$(CONFIG)/publish && python server.py
\ No newline at end of file
+ cd bin/$(CONFIG)/publish && python3 server.py
// The .NET Foundation licenses this file to you under the MIT license.
using System;
+using System.Runtime.CompilerServices;
namespace Sample
{
Console.WriteLine ("Hello, World!");
}
+ [MethodImpl(MethodImplOptions.NoInlining)]
public static int TestMeaning()
{
return 42;
</head>
<body>
<h3 id="header">Wasm Browser Sample</h3>
- Result from Sample.Test.TestMeaaning: <span id="out"></span>
+ Result from Sample.Test.TestMeaning: <span id="out"></span>
<script type='text/javascript'>
var App = {
init: function () {