diff options
| author | Ophestra <cat@gensokyo.uk> | 2026-08-25 13:57:38 +0900 |
|---|---|---|
| committer | Ophestra <cat@gensokyo.uk> | 2026-08-25 14:00:42 +0900 |
| commit | ac7abbbe3fa2eea01defb670abc7dc1dc336cf21 (patch) | |
| tree | cb8c451110acbd394667e94ae66c53dc422398b8 /internal/rosa/llvm_test.go | |
| parent | 7ee5d5368de5494350e7766a595c2bdc8f01ce80 (diff) | |
internal/rosa: read-only access to built-ins
This removes potential footguns caused by mutable builtins without requiring unnecessary clones.
Signed-off-by: Ophestra <cat@gensokyo.uk>
Diffstat (limited to 'internal/rosa/llvm_test.go')
| -rw-r--r-- | internal/rosa/llvm_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/internal/rosa/llvm_test.go b/internal/rosa/llvm_test.go index 2b1d2e7d..42b0b540 100644 --- a/internal/rosa/llvm_test.go +++ b/internal/rosa/llvm_test.go @@ -10,7 +10,7 @@ import ( func TestLLVMInputs(t *testing.T) { const wantInputCount = 470 - _, llvm := rosa.Native().Std().MustLoad(rosa.H("llvm")) + _, llvm := rosa.MustLoad(rosa.H("llvm")) var n int for range pkg.Inputs(llvm) { n++ |
