File tree Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Expand file tree Collapse file tree 2 files changed +14
-4
lines changed Original file line number Diff line number Diff line change @@ -52,3 +52,15 @@ rust_binary(
52
52
"//bazel/cargo:log" ,
53
53
],
54
54
)
55
+
56
+ rust_binary (
57
+ name = "http_config" ,
58
+ srcs = ["http_config.rs" ],
59
+ crate_type = "cdylib" ,
60
+ edition = "2018" ,
61
+ out_binary = True ,
62
+ deps = [
63
+ "//:proxy_wasm" ,
64
+ "//bazel/cargo:log" ,
65
+ ],
66
+ )
Original file line number Diff line number Diff line change @@ -31,10 +31,8 @@ impl RootContext for HttpHeadersRoot {
31
31
Some ( ContextType :: HttpContext )
32
32
}
33
33
34
- fn create_http_context ( & self , _context_id : u32 ) -> Option < Box < dyn HttpContext > > {
35
- Some ( Box :: new ( HttpHeaders {
36
- context_id : _context_id,
37
- } ) )
34
+ fn create_http_context ( & self , context_id : u32 ) -> Option < Box < dyn HttpContext > > {
35
+ Some ( Box :: new ( HttpHeaders { context_id } ) )
38
36
}
39
37
}
40
38
You can’t perform that action at this time.
0 commit comments