From 1fd901159188a5e0c2b3559ae7ec7deff7c4e7a2 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 29 Nov 2020 10:40:36 +0100 Subject: pkg/mgrconfig: add prog&sys.targets targets to Config These are widely used with the config as the refactoring shows. This removes a bunch of unnecessary code. Also fixes a number of bugs where we confused Arch with VMArch. --- tools/syz-testbuild/testbuild.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/syz-testbuild') diff --git a/tools/syz-testbuild/testbuild.go b/tools/syz-testbuild/testbuild.go index eae70e2ae..69f2c67db 100644 --- a/tools/syz-testbuild/testbuild.go +++ b/tools/syz-testbuild/testbuild.go @@ -67,7 +67,7 @@ func main() { } defer os.RemoveAll(dir) cfg := &mgrconfig.Config{ - Target: *flagOS + "/" + *flagArch, + RawTarget: *flagOS + "/" + *flagArch, HTTP: ":0", Workdir: dir, KernelSrc: *flagKernelSrc, -- cgit mrf-deployment