mirror of
https://github.com/edwinb/Idris2-boot.git
synced 2024-11-28 05:32:03 +03:00
960ad42732
Gets the OS info from the host compiler, which we'll need to be careful with when bootstrapping (since maybe we'll distribute generated chez or racket as a starting point for bootstrapping...)
13 lines
160 B
Idris
13 lines
160 B
Idris
module System.Info
|
|
|
|
%extern prim__os : String
|
|
%extern prim__codegen : String
|
|
|
|
export
|
|
os : String
|
|
os = prim__os
|
|
|
|
export
|
|
codegen : String
|
|
codegen = prim__codegen
|