mirror of
https://github.com/odin-lang/Odin.git
synced 2026-04-18 20:40:28 +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()
|
||||
#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