targets supports code-model, target-abi, relocation-model

This commit is contained in:
Li Jie
2025-08-21 20:43:43 +08:00
parent c414add29f
commit 2eb7d542d2
4 changed files with 34 additions and 6 deletions

View File

@@ -20,6 +20,11 @@ type Config struct {
LinkerScript string `json:"linkerscript"`
CFlags []string `json:"cflags"`
LDFlags []string `json:"ldflags"`
// Code generation configuration
CodeModel string `json:"code-model"`
TargetABI string `json:"target-abi"`
RelocationModel string `json:"relocation-model"`
}
// RawConfig represents the raw JSON configuration before inheritance resolution