diff --git a/plugins/wasm-cpp/.bazelrc b/plugins/wasm-cpp/.bazelrc index 1a351ed7b..2e5fdca42 100644 --- a/plugins/wasm-cpp/.bazelrc +++ b/plugins/wasm-cpp/.bazelrc @@ -4,4 +4,6 @@ build:gcc --cxxopt=-std=c++17 build:clang --action_env=CC=clang --action_env=CXX=clang++ build:clang --action_env=BAZEL_COMPILER=clang build:clang --linkopt=-fuse-ld=lld -build:clang --cxxopt=-std=c++17 \ No newline at end of file +build:clang --cxxopt=-std=c++17 + +build --incompatible_use_platforms_repo_for_constraints=false \ No newline at end of file diff --git a/plugins/wasm-cpp/.bazelversion b/plugins/wasm-cpp/.bazelversion index 1e20ec35c..f4965a313 100644 --- a/plugins/wasm-cpp/.bazelversion +++ b/plugins/wasm-cpp/.bazelversion @@ -1 +1 @@ -5.4.0 \ No newline at end of file +6.0.0 \ No newline at end of file diff --git a/plugins/wasm-cpp/WORKSPACE b/plugins/wasm-cpp/WORKSPACE index fe0a7223c..1e1b451f8 100644 --- a/plugins/wasm-cpp/WORKSPACE +++ b/plugins/wasm-cpp/WORKSPACE @@ -1,6 +1,13 @@ workspace(name = "istio_ecosystem_wasm_extensions") load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") + +http_archive( + name = "platforms", + url = "https://github.com/bazelbuild/platforms/releases/download/0.0.9/platforms-0.0.9.tar.gz", + sha256 = "5eda539c841265031c2f82d8ae7a3a6490bd62176e0c038fc469eabf91f6149b", +) + load("//bazel:third_party.bzl", "wasm_extension_dependency") wasm_extension_dependency() @@ -16,9 +23,9 @@ load("@io_bazel_rules_docker//repositories:deps.bzl", container_deps = "deps") container_deps() -PROXY_WASM_CPP_SDK_SHA = "eaec483b5b3c7bcb89fd208b5a1fa5d79d626f61" +PROXY_WASM_CPP_SDK_SHA = "0ceca8c81dddc4c9875cf0cb997454764905658c" -PROXY_WASM_CPP_SDK_SHA256 = "1140bc8114d75db56a6ca6b18423d4df50d988d40b4cec929a1eb246cf5a4a3d" +PROXY_WASM_CPP_SDK_SHA256 = "cb010b242d49fb02b39124421b6acb69bd4ece64fb6299ba3f98f3b36eef7004" http_archive( name = "proxy_wasm_cpp_sdk",