File tree Expand file tree Collapse file tree 7 files changed +156
-0
lines changed
modules/proxy-wasm-cpp-sdk Expand file tree Collapse file tree 7 files changed +156
-0
lines changed Original file line number Diff line number Diff line change 1+ # Copyright 2026 Google LLC
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
15+ module (
16+ name = "proxy-wasm-cpp-sdk" ,
17+ version = "0.0.0-20260123-894dd29" ,
18+ repo_name = "proxy_wasm_cpp_sdk" ,
19+ )
20+
21+ bazel_dep (
22+ name = "emsdk" ,
23+ version = "4.0.13" ,
24+ )
25+ bazel_dep (
26+ name = "platforms" ,
27+ version = "1.0.0" ,
28+ )
29+ bazel_dep (
30+ name = "protobuf" ,
31+ version = "29.3" ,
32+ repo_name = "com_google_protobuf" ,
33+ )
34+ bazel_dep (
35+ name = "re2" ,
36+ version = "2024-07-02.bcr.1" ,
37+ repo_name = "com_google_re2" ,
38+ )
39+ bazel_dep (
40+ name = "rules_cc" ,
41+ version = "0.2.0" ,
42+ )
43+ bazel_dep (
44+ name = "rules_python" ,
45+ version = "1.4.1" ,
46+ )
Original file line number Diff line number Diff line change 1+ --- a/contrib/BUILD
2+ +++ b/contrib/BUILD
3+ @@ -1,3 +1,5 @@
4+ + load("@rules_cc//cc:defs.bzl", "cc_library")
5+ +
6+ licenses(["notice"]) # Apache 2
7+
8+ cc_library(
Original file line number Diff line number Diff line change 1+ diff --git a/MODULE.bazel b/MODULE.bazel
2+ index 0000000..1111111 100644
3+ --- a/MODULE.bazel
4+ +++ b/MODULE.bazel
5+ @@ -14,7 +14,7 @@
6+
7+ module(
8+ name = "proxy-wasm-cpp-sdk",
9+ - version = "0.0.0",
10+ + version = "0.0.0-20260123-894dd29",
11+ repo_name = "proxy_wasm_cpp_sdk",
12+ )
13+
Original file line number Diff line number Diff line change 1+ diff --git a/bazel/defs.bzl b/bazel/defs.bzl
2+ index 87727c0..ae1b19b 100644
3+ --- a/bazel/defs.bzl
4+ +++ b/bazel/defs.bzl
5+ @@ -101,9 +101,9 @@ def proxy_wasm_cc_binary(
6+ # Give host code access to Emscripten's _malloc() function
7+ "-sEXPORTED_FUNCTIONS=_malloc",
8+ # Allow allocating memory past initial heap size
9+ - "-sALLOW_MEMORY_GROWTH=1",
10+ + # "-sALLOW_MEMORY_GROWTH=1",
11+ # Initial amount of heap memory. 64KB matches Rust SDK starting heap size.
12+ - "-sINITIAL_HEAP=64KB",
13+ + # "-sINITIAL_HEAP=64KB",
14+ ],
15+ tags = tags + [
16+ "manual",
Original file line number Diff line number Diff line change 1+ # Copyright 2026 Google LLC
2+ #
3+ # Licensed under the Apache License, Version 2.0 (the "License");
4+ # you may not use this file except in compliance with the License.
5+ # You may obtain a copy of the License at
6+ #
7+ # http://www.apache.org/licenses/LICENSE-2.0
8+ #
9+ # Unless required by applicable law or agreed to in writing, software
10+ # distributed under the License is distributed on an "AS IS" BASIS,
11+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+ # See the License for the specific language governing permissions and
13+ # limitations under the License.
14+
15+ matrix :
16+ platform : ["debian11", "macos", "ubuntu2204"]
17+ bazel : [7.x, 8.x]
18+ tasks :
19+ verify_targets :
20+ name : " Build example WebAssembly modules"
21+ platform : ${{ platform }}
22+ bazel : ${{ bazel }}
23+ build_targets :
24+ - " @proxy-wasm-cpp-sdk//..."
Original file line number Diff line number Diff line change 1+ {
2+ "url" : " https://github.com/proxy-wasm/proxy-wasm-cpp-sdk/archive/894dd29ff8333d6cc51b416d334568058d6aef71.tar.gz" ,
3+ "integrity" : " sha256-YRvk9G7bePDhTJJhbmUqjVzQdtOIaTVyUwgfLFpUdqc=" ,
4+ "strip_prefix" : " proxy-wasm-cpp-sdk-894dd29ff8333d6cc51b416d334568058d6aef71" ,
5+ "patches" : {
6+ "proxy-wasm-cpp-sdk.patch" : " sha256-HX2I0ovtuofK8WmRwhIv2BoyHqTuc7WE+LzJHpKH8JU=" ,
7+ "module_version.patch" : " sha256-7YsNSCAHtqbJRu8GM8+ItYrutLxN7BHJvmjnrR0d4Xg=" ,
8+ "add_load_to_contrib.patch" : " sha256-RUkvVMX87Ern2GzSKkthSs4osTchzsl4fH+7E31hNi8="
9+ },
10+ "patch_strip" : 1
11+ }
Original file line number Diff line number Diff line change 1+ {
2+ "homepage" : " https://github.com/proxy-wasm/proxy-wasm-cpp-sdk" ,
3+ "maintainers" : [
4+ {
5+ "email" : " piotrsikora@google.com" ,
6+ "github" : " PiotrSikora" ,
7+ "github_user_id" : 190297 ,
8+ "name" : " Piotr Sikora"
9+ },
10+ {
11+ "email" : " martijneken@google.com" ,
12+ "github" : " martijneken" ,
13+ "github_user_id" : 2081190 ,
14+ "name" : " Martijn Eken"
15+ },
16+ {
17+ "email" : " mpwarres@google.com" ,
18+ "github" : " mpwarres" ,
19+ "github_user_id" : 156047 ,
20+ "name" : " Michael Warres"
21+ },
22+ {
23+ "github" : " leonm1" ,
24+ "github_user_id" : 32306579
25+ },
26+ {
27+ "github" : " phlax" ,
28+ "github_user_id" : 454682
29+ }
30+ ],
31+ "repository" : [
32+ " github:proxy-wasm/proxy-wasm-cpp-sdk"
33+ ],
34+ "versions" : [
35+ " 0.0.0-20260123-894dd29"
36+ ],
37+ "yanked_versions" : {}
38+ }
You can’t perform that action at this time.
0 commit comments