Skip to content
This repository was archived by the owner on Apr 24, 2025. It is now read-only.

Commit c68f546

Browse files
authored
allow abi 0.1.0 (#107)
Signed-off-by: mathetake <[email protected]>
1 parent 8214c77 commit c68f546

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

proxywasm/abi_version.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
// +build !abi_010
16+
1517
package proxywasm
1618

1719
//nolint

proxywasm/abi_version_010.go

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
// Copyright 2020 Tetrate
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+
// +build abi_010
16+
17+
package proxywasm
18+
19+
//nolint
20+
//export proxy_abi_version_0_1_0
21+
func proxyABIVersion() {}

0 commit comments

Comments
 (0)