hare

[hare] The Hare programming language
git clone https://git.torresjrjr.com/hare.git
Log | Files | Refs | README | LICENSE

platformstart.ha (269B)


      1 // License: MPL-2.0
      2 // (c) 2021 Armin Weigl <tb46305@gmail.com>
      3 // (c) 2021 Drew DeVault <sir@cmpwn.com>
      4 
      5 export @noreturn fn start_linux(iv: *[*]uintptr) void = {
      6 	argc = iv[0]: size;
      7 	argv = &iv[1]: *[*]*u8;
      8 	envp = &argv[argc + 1]: *[*]nullable *u8;
      9 	start_ha();
     10 };