Return C compiler flags for including Lean's headers.
Equations
- Lean.Compiler.FFI.getCFlags leanSysroot = #["-I", (leanSysroot / { toString := "include" }).toString] ++ (Lean.Compiler.FFI.getLeancExtraFlagsā ()).trim.splitOn
Instances For
Return C compiler flags needed to use the C compiler bundled with the Lean toolchain.
Equations
- Lean.Compiler.FFI.getInternalCFlags leanSysroot = Array.map (fun (x : String) => x.replace "ROOT" leanSysroot.toString) (Lean.Compiler.FFI.getLeancInternalFlagsā ()).trim.splitOn.toArray
Instances For
Return linker flags for linking against Lean's libraries.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Return linker flags needed to use the linker bundled with the Lean toolchain.
Equations
- One or more equations did not get rendered due to their size.