mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 23:28:48 +00:00
Add empty main dynamic builds for *nix systems
This commit is contained in:
@@ -16,4 +16,8 @@ when ODIN_BUILD_MODE == "dynamic" {
|
|||||||
context = default_context()
|
context = default_context()
|
||||||
#force_no_inline _cleanup_runtime()
|
#force_no_inline _cleanup_runtime()
|
||||||
}
|
}
|
||||||
|
@(link_name="main", linkage="strong", require)
|
||||||
|
main :: proc(argc: i32, argv: [^]cstring) -> i32 {
|
||||||
|
return 0
|
||||||
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user