refactor(enclave): restructure enclave to use go-pdk and support WASM target
This commit is contained in:
2
Makefile
2
Makefile
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user