Add cgo tag to btrfs plugin
btrfs plugin needs CGO support. However on riscv64, cgo is only support on go1.16 (not released yet). Instead of setting no_btrfs manually, adding a cgo tag tells the compiler to skip it automatically. Signed-off-by: Shengjing Zhu <zhsj@debian.org>
This commit is contained in:
parent
5142c38421
commit
074873c68e
@ -1,4 +1,4 @@
|
||||
// +build !no_btrfs
|
||||
// +build !no_btrfs,cgo
|
||||
|
||||
/*
|
||||
Copyright The containerd Authors.
|
||||
|
@ -1,4 +1,4 @@
|
||||
// +build linux,!no_btrfs
|
||||
// +build linux,!no_btrfs,cgo
|
||||
|
||||
/*
|
||||
Copyright The containerd Authors.
|
||||
|
@ -1,4 +1,4 @@
|
||||
// +build linux,!no_btrfs
|
||||
// +build linux,!no_btrfs,cgo
|
||||
|
||||
/*
|
||||
Copyright The containerd Authors.
|
||||
|
@ -1,4 +1,4 @@
|
||||
// +build linux,!no_btrfs
|
||||
// +build linux,!no_btrfs,cgo
|
||||
|
||||
/*
|
||||
Copyright The containerd Authors.
|
||||
|
Loading…
Reference in New Issue
Block a user