| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | pkg/compiler: add ExistsAny() to ConstFile | Aleksandr Nogikh | 2023-10-04 | 1 | -10/+6 |
| | | | | | | | The new method checks whether the value is defined for at least one of the known arches. Refactor ConstFile tests. | ||||
| * | all: ioutil is deprecated in go1.19 (#3718) | Taras Madan | 2023-02-23 | 1 | -3/+2 |
| | | |||||
| * | all: use `t.TempDir` to create temporary test directory | Eng Zer Jun | 2022-03-28 | 1 | -5/+1 |
| | | | | | | | | | | This commit replaces all `ioutil.TempDir` with `t.TempDir` in tests. The directory created by `t.TempDir` is automatically removed when the test and all its subtests complete. Reference: https://pkg.go.dev/testing#T.TempDir Signed-off-by: Eng Zer Jun <engzerjun@gmail.com> | ||||
| * | pkg/compiler: merge const files into a single file | Dmitry Vyukov | 2020-08-13 | 1 | -0/+130 |
| We now have 8 arches for Linux and .const files produce lots of noise in PRs and lots of diffs. If 3 .txt files are touched, the PR will have 24 .const files, which will be intermixed with .txt files. Frequently const values are equal across arches, and even if they don't spreading a single value across 8 files is inconvinient. Merge all 8 *_arch.const files into a single .const file. See the test for details of the new format. The old format is still parsed for now, we can't update all OSes at once. For Linux this reduces number of const files/lines from 1288/96599 to 158/11603. Fixes #1983 | |||||
