Build: change how the target is printed in step names
e.g. `x86_64-windows.win10...win11_dt-gnu` -> `x86_64-windows-gnu` When the OS version is the default this is redundant with checking the default in the standard library.
This commit is contained in:
@@ -13,7 +13,7 @@ pub const Options = struct {
|
||||
};
|
||||
|
||||
pub fn addTestStep(b: *Build, prefix: []const u8, opts: Options) *Step {
|
||||
const target = opts.target.result.zigTriple(b.allocator) catch @panic("OOM");
|
||||
const target = opts.target.query.zigTriple(b.allocator) catch @panic("OOM");
|
||||
const optimize = @tagName(opts.optimize);
|
||||
const use_llvm = if (opts.use_llvm) "llvm" else "no-llvm";
|
||||
const use_lld = if (opts.use_lld) "lld" else "no-lld";
|
||||
|
||||
Reference in New Issue
Block a user