File tree 4 files changed +33
-4
lines changed
4 files changed +33
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ cargo_build_script(
29
29
30
30
rust_library (
31
31
name = "proxy_wasm" ,
32
- srcs = glob (["src/*.rs" ]),
32
+ srcs = glob (["src/*.rs" , "src/callout/*.rs" ]),
33
33
edition = "2018" ,
34
34
visibility = ["//visibility:public" ],
35
35
deps = [
Original file line number Diff line number Diff line change
1
+ // Copyright 2024 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
+
1
15
use crate :: callout:: promise:: Promise ;
2
16
use crate :: hostcalls;
3
17
use std:: collections:: HashMap ;
Original file line number Diff line number Diff line change
1
+ // Copyright 2024 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
+
1
15
pub mod http;
2
16
pub mod promise;
Original file line number Diff line number Diff line change 12
12
// See the License for the specific language governing permissions and
13
13
// limitations under the License.
14
14
15
- mod allocator;
16
15
pub mod callout;
17
- mod dispatcher;
18
16
pub mod hostcalls;
19
- mod logger;
20
17
pub mod traits;
21
18
pub mod types;
22
19
20
+ mod allocator;
21
+ mod dispatcher;
22
+ mod logger;
23
+
23
24
// For crate-type="cdylib".
24
25
#[ cfg( not( wasi_exec_model_reactor) ) ]
25
26
#[ macro_export]
You can’t perform that action at this time.
0 commit comments