Commit Graph

8 Commits

Author SHA1 Message Date
Ignacio Etcheverry
0e312939bd WASM: Add patch to let Godot provide its own m2n trampolines
Mono on WASM relies on trampolines for a fixed pre-defined set of
method signatures in order for the interpreter to call native
functions.
As a workaround for this limitation, Godot has been passing long,
ulong, float and double as pointers in internal calls.
This patch should allow Godot to provide its own trampolines, which
can be generated automatically at compile time thanks to templates.

This patch is made against the Mono tag mono-6.12.0.111. The
following commit is expected to break this patch:
mono/mono@174aeaa31c
It will need to be updated once we upgrade the a newer Mono
version in the official Godot builds.
2020-12-04 23:36:32 +01:00
Rémi Verschelde
1b5f2bb8d9
CI: Build with Mono 6.12.0.111 and Emscripten 1.39.9
This is what we'll be using for official builds for 3.2.4+.

Co-authored-by: Ignacio Etcheverry <ignalfonsore@gmail.com>
2020-11-16 17:17:03 +01:00
Ignacio Etcheverry
0e5cd48f05 Added Github Actions workflow 2020-05-14 22:01:26 +02:00
Ignacio Etcheverry
c662ffd863 Remove boehm gc patch for android tkill
Mono's Boehm GC was replaced with a newer one on latest versions, and the new
one already has this patch.

This change won't be a problem for older versions as we don't build boehm anyway.
2020-04-06 14:52:11 +02:00
Ignacio Etcheverry
e8ce81bf23 Add iOS build script and fix builds with OSXCROSS 2020-03-11 01:26:05 +01:00
Ignacio Etcheverry
2f0a47c7ed BCL: Fix net_4_x build for Windows 2020-01-29 12:27:35 +01:00
Ignacio Etcheverry
7e3e21defc Add patch from Unity fork to fix TLS re-attachment
See: https://github.com/godotengine/godot/issues/33735
2020-01-21 15:17:42 +01:00
Ignacio Etcheverry
ee54822600 Add custom AndroidEnvironment class for Godot
The monodroid BCL expects to find this class in 'Mono.Android.dll'. We're not using Xamarin.Android (at least not for now) so we need a replacement.
2019-12-04 15:15:25 +01:00