Put min_prelude in a testdata dir (#5635)

This makes the min_prelude files a little more consistent with how we
use testdata elsewhere, avoiding some special casing of them.
This commit is contained in:
Jon Ross-Perkins
2025-06-09 22:18:12 +00:00
committed by GitHub
parent f506376e53
commit 78d4cce9f8
99 changed files with 101 additions and 111 deletions
+3 -3
View File
@@ -507,12 +507,12 @@ minimal `Core` package and `prelude` library to the file test with the
`check/testdata/facet_types/min_prelude/my_test.carbon` might contain:
```
// INCLUDE-FILE: toolchain/testing/min_prelude/facet_types.carbon
// INCLUDE-FILE: toolchain/testing/testdata/min_prelude/facet_types.carbon
```
We have a set of minimal `Core` preludes for testing different compiler feature
areas in `//toolchain/testing/min_prelude/`. Each file begins with the line
`package Core library "prelude";` to make it provide a prelude.
areas in `//toolchain/testing/testdata/min_prelude/`. Each file begins with the
line `package Core library "prelude";` to make it provide a prelude.
#### SemIR dumps and ranges