github.com/google/syzkaller@v0.0.0-20240517125934-c0f1611a36d6/pkg/build/linux_nolinux.go (about) 1 // Copyright 2021 syzkaller project authors. All rights reserved. 2 // Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file. 3 4 //go:build !linux 5 6 package build 7 8 import ( 9 "errors" 10 ) 11 12 func embedLinuxKernel(params Params, kernelPath string) error { 13 return errors.New("building linux image is only supported on linux") 14 } 15 16 func embedFiles(params Params, callback func(mountDir string) error) error { 17 return errors.New("building linux image is only supported on linux") 18 }