mirror of
https://github.com/reactos/syzkaller.git
synced 2024-12-04 01:11:22 +00:00
34bc139642
Currently we compile in only GOOS/GOARCH target. Compile in all targets so that they can be selected at runtime.
18 lines
385 B
Go
18 lines
385 B
Go
// Copyright 2017 syzkaller project authors. All rights reserved.
|
|
// Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
|
|
|
|
package sys
|
|
|
|
import (
|
|
"runtime"
|
|
|
|
"github.com/google/syzkaller/prog"
|
|
_ "github.com/google/syzkaller/sys/linux"
|
|
)
|
|
|
|
func init() {
|
|
if err := prog.SetDefaultTarget("linux", runtime.GOARCH); err != nil {
|
|
panic(err)
|
|
}
|
|
}
|