refactor(enclave): restructure enclave to use go-pdk and support WASM target

This commit is contained in:
2026-01-09 08:19:15 -05:00
parent 842fdc1923
commit 527dfee7f6
4 changed files with 17 additions and 1027 deletions

View File

@@ -15,7 +15,7 @@ deps:
build:
@echo "Building WASM plugin..."
@GOOS=wasip1 GOARCH=wasm go build -buildmode=c-shared -o $(BUILD_DIR)/$(BINARY) .
@GOOS=wasip1 GOARCH=wasm go build -buildmode=c-shared -o $(BUILD_DIR)/$(BINARY) ./cmd/enclave
@echo "Built $(BUILD_DIR)/$(BINARY)"
sdk: