diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-01-25 00:29:46 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-01-25 00:29:46 +0900 |
| commit | 43b8a40fc0e8d99bf29531d33f1f57d0c6e9df5e (patch) | |
| tree | fd166cbc1bec3e3922845be13f0f86e62da5f214 /internal/rosa/rosa.go | |
| parent | 87c3059214e4d9a40431a4dad0a5520b3ffa0a63 (diff) | |
internal/rosa: lazy initialise llvm
This significantly improves performance.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/rosa.go')
| -rw-r--r-- | internal/rosa/rosa.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/internal/rosa/rosa.go b/internal/rosa/rosa.go index c3b6a3ed..cb2985ef 100644 --- a/internal/rosa/rosa.go +++ b/internal/rosa/rosa.go @@ -114,6 +114,10 @@ const ( // Std denotes the standard Rosa OS toolchain. Std + + // _toolchainEnd is the total number of toolchains available and does not + // denote a valid toolchain. + _toolchainEnd ) // stage3Concat concatenates s and values. If the current toolchain is |
