//go:build !cgo || !native_libs
// +build !cgo !native_libs

package queue

import "errors"

// UseNativeQueue is always false without native_libs build tag.
const UseNativeQueue = false

// NativeQueue is not available without native_libs build tag.
type NativeQueue struct{}

// NewNativeQueue returns an error without native_libs build tag.
func NewNativeQueue(root string) (Backend, error) {
	return nil, errors.New("native queue requires native_libs build tag")
}
