gomcp/internal/domain/engines/ffi_sentinel_stub.go

19 lines
589 B
Go

// Copyright 2026 Syntrex Lab. All rights reserved.
// Use of this source code is governed by an Apache-2.0 license
// that can be found in the LICENSE file.
//go:build !sentinel_native
package engines
import "errors"
// NativeSentinelCore is a dummy to make compilation pass when tag is missing.
type NativeSentinelCore struct {
StubSentinelCore
}
// NewNativeSentinelCore returns an error when built without sentinel_native tag.
func NewNativeSentinelCore() (*NativeSentinelCore, error) {
return nil, errors.New("sentinel_native build tag not provided; native engine disabled")
}