aboutsummaryrefslogtreecommitdiffstats
path: root/tools/syz-testbuild/testbuild.go
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-11-29 10:40:36 +0100
committerDmitry Vyukov <dvyukov@google.com>2020-11-30 13:33:18 +0100
commit1fd901159188a5e0c2b3559ae7ec7deff7c4e7a2 (patch)
tree82c9a88630b01824aab94866cbe1d405a7e7219d /tools/syz-testbuild/testbuild.go
parenta142e60d5cf11dc798e4909c97803d75add83a11 (diff)
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.
Diffstat (limited to 'tools/syz-testbuild/testbuild.go')
-rw-r--r--tools/syz-testbuild/testbuild.go2
1 files changed, 1 insertions, 1 deletions
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,