Move core:runtime to base:runtime; keep alias around

This commit is contained in:
gingerBill
2024-01-28 21:05:53 +00:00
parent ddcaa0de53
commit 09fa1c29cd
42 changed files with 54 additions and 7 deletions
+20
View File
@@ -0,0 +1,20 @@
//+private
//+build wasm32, wasm64p32
//+no-instrumentation
package runtime
import "core:intrinsics"
when !ODIN_TEST && !ODIN_NO_ENTRY_POINT {
@(link_name="_start", linkage="strong", require, export)
_start :: proc "c" () {
context = default_context()
#force_no_inline _startup_runtime()
intrinsics.__entry_point()
}
@(link_name="_end", linkage="strong", require, export)
_end :: proc "c" () {
context = default_context()
#force_no_inline _cleanup_runtime()
}
}