gpu-dawn:build: remove dawn-from-source option and build from source

by default
This commit is contained in:
Ali Chraghi 2022-08-28 22:10:30 +04:30 committed by Stephen Gutekanst
parent ec99abc5d4
commit 9e1b04770a

View file

@ -15,7 +15,7 @@ pub fn build(b: *Builder) void {
const options = gpu_dawn.Options{
.install_libs = true,
.from_source = b.option(bool, "dawn-from-source", "Build Dawn from source") orelse false,
.from_source = true,
};
// Just to demonstrate/test linking. This is not a functional example, see the mach/gpu examples