gpu-dawn: add mirror support for headers.json.gz
This commit is contained in:
parent
412df4490c
commit
308d413f09
1 changed files with 2 additions and 1 deletions
|
|
@ -364,7 +364,8 @@ pub fn Sdk(comptime deps: anytype) type {
|
||||||
// Compose the headers download URL, e.g.:
|
// Compose the headers download URL, e.g.:
|
||||||
// https://github.com/hexops/mach-gpu-dawn/releases/download/release-6b59025/headers.json.gz
|
// https://github.com/hexops/mach-gpu-dawn/releases/download/release-6b59025/headers.json.gz
|
||||||
const headers_download_url = try std.mem.concat(allocator, u8, &.{
|
const headers_download_url = try std.mem.concat(allocator, u8, &.{
|
||||||
"https://github.com/hexops/mach-gpu-dawn/releases/download/",
|
github_base_url,
|
||||||
|
"/hexops/mach-gpu-dawn/releases/download/",
|
||||||
version,
|
version,
|
||||||
"/headers.json.gz",
|
"/headers.json.gz",
|
||||||
});
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue