Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
46 changes: 46 additions & 0 deletions modules/proxy-wasm-cpp-sdk/0.0.0-20260123-894dd29/MODULE.bazel
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

module(
name = "proxy-wasm-cpp-sdk",
version = "0.0.0-20260123-894dd29",
repo_name = "proxy_wasm_cpp_sdk",
)

bazel_dep(
name = "emsdk",
version = "4.0.13",
)
bazel_dep(
name = "platforms",
version = "1.0.0",
)
bazel_dep(
name = "protobuf",
version = "29.3",
repo_name = "com_google_protobuf",
)
bazel_dep(
name = "re2",
version = "2024-07-02.bcr.1",
repo_name = "com_google_re2",
)
bazel_dep(
name = "rules_cc",
version = "0.2.0",
)
bazel_dep(
name = "rules_python",
version = "1.4.1",
)
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
--- a/contrib/BUILD
+++ b/contrib/BUILD
@@ -1,3 +1,5 @@
+load("@rules_cc//cc:defs.bzl", "cc_library")
+
licenses(["notice"]) # Apache 2

cc_library(
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/MODULE.bazel b/MODULE.bazel
index 0000000..1111111 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -14,7 +14,7 @@

module(
name = "proxy-wasm-cpp-sdk",
- version = "0.0.0",
+ version = "0.0.0-20260123-894dd29",
repo_name = "proxy_wasm_cpp_sdk",
)

Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
diff --git a/bazel/defs.bzl b/bazel/defs.bzl
index 87727c0..ae1b19b 100644
--- a/bazel/defs.bzl
+++ b/bazel/defs.bzl
@@ -101,9 +101,9 @@ def proxy_wasm_cc_binary(
# Give host code access to Emscripten's _malloc() function
"-sEXPORTED_FUNCTIONS=_malloc",
# Allow allocating memory past initial heap size
- "-sALLOW_MEMORY_GROWTH=1",
+ # "-sALLOW_MEMORY_GROWTH=1",
# Initial amount of heap memory. 64KB matches Rust SDK starting heap size.
- "-sINITIAL_HEAP=64KB",
+ # "-sINITIAL_HEAP=64KB",
],
tags = tags + [
"manual",
24 changes: 24 additions & 0 deletions modules/proxy-wasm-cpp-sdk/0.0.0-20260123-894dd29/presubmit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright 2026 Google LLC
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

matrix:
platform: ["debian11", "macos", "ubuntu2204"]
bazel: [7.x, 8.x]
tasks:
verify_targets:
name: "Build example WebAssembly modules"
platform: ${{ platform }}
bazel: ${{ bazel }}
build_targets:
- "@proxy-wasm-cpp-sdk//..."
Comment thread
mmorel-35 marked this conversation as resolved.
11 changes: 11 additions & 0 deletions modules/proxy-wasm-cpp-sdk/0.0.0-20260123-894dd29/source.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"url": "https://github.com/proxy-wasm/proxy-wasm-cpp-sdk/archive/894dd29ff8333d6cc51b416d334568058d6aef71.tar.gz",
"integrity": "sha256-YRvk9G7bePDhTJJhbmUqjVzQdtOIaTVyUwgfLFpUdqc=",
"strip_prefix": "proxy-wasm-cpp-sdk-894dd29ff8333d6cc51b416d334568058d6aef71",
"patches": {
"proxy-wasm-cpp-sdk.patch": "sha256-HX2I0ovtuofK8WmRwhIv2BoyHqTuc7WE+LzJHpKH8JU=",
"module_version.patch": "sha256-7YsNSCAHtqbJRu8GM8+ItYrutLxN7BHJvmjnrR0d4Xg=",
"add_load_to_contrib.patch": "sha256-RUkvVMX87Ern2GzSKkthSs4osTchzsl4fH+7E31hNi8="
},
"patch_strip": 1
}
38 changes: 38 additions & 0 deletions modules/proxy-wasm-cpp-sdk/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
"homepage": "https://github.com/proxy-wasm/proxy-wasm-cpp-sdk",
"maintainers": [
{
"email": "piotrsikora@google.com",
"github": "PiotrSikora",
"github_user_id": 190297,
"name": "Piotr Sikora"
},
{
"email": "martijneken@google.com",
"github": "martijneken",
"github_user_id": 2081190,
"name": "Martijn Eken"
},
{
"email": "mpwarres@google.com",
"github": "mpwarres",
"github_user_id": 156047,
"name": "Michael Warres"
},
{
"github": "leonm1",
"github_user_id": 32306579
},
{
"github": "phlax",
"github_user_id": 454682
}
],
"repository": [
"github:proxy-wasm/proxy-wasm-cpp-sdk"
],
"versions": [
"0.0.0-20260123-894dd29"
],
"yanked_versions": {}
}
Loading