File tree Expand file tree Collapse file tree 4 files changed +33
-4
lines changed Expand file tree Collapse file tree 4 files changed +33
-4
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ cargo_build_script(
2929
3030rust_library (
3131 name = "proxy_wasm" ,
32- srcs = glob (["src/*.rs" ]),
32+ srcs = glob (["src/*.rs" , "src/callout/*.rs" ]),
3333 edition = "2018" ,
3434 visibility = ["//visibility:public" ],
3535 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+
115use crate :: callout:: promise:: Promise ;
216use crate :: hostcalls;
317use 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+
115pub mod http;
216pub mod promise;
Original file line number Diff line number Diff line change 1212// See the License for the specific language governing permissions and
1313// limitations under the License.
1414
15- mod allocator;
1615pub mod callout;
17- mod dispatcher;
1816pub mod hostcalls;
19- mod logger;
2017pub mod traits;
2118pub mod types;
2219
20+ mod allocator;
21+ mod dispatcher;
22+ mod logger;
23+
2324// For crate-type="cdylib".
2425#[ cfg( not( wasi_exec_model_reactor) ) ]
2526#[ macro_export]
You can’t perform that action at this time.
0 commit comments