Support using custom rustflags for targets

This is necessary for AVR and AMDGPU. We currently just hardcode some
flags in the binary, which is good enough. There's a new column which
keeps track of the used flags and shows them for a build.

A migration makes sure that the older results are properly backfilled
with the flags to make them build.
This commit is contained in:
nora 2025-07-04 18:21:52 +02:00
parent 42cd9fda83
commit b1d1728c42
5 changed files with 81 additions and 19 deletions

View file

@ -0,0 +1,8 @@
-- Add migration script here
ALTER TABLE build_info
ADD COLUMN rustflags VARCHAR;
DELETE FROM build_info WHERE target IN ('avr-none', 'amdgcn-amd-amdhsa') AND mode = 'core';
DELETE FROM finished_nightly WHERE nightly > '2025-02-11';