File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7084,8 +7084,6 @@ dependencies = [
70847084[[package ]]
70857085name = " wasmtime-internal-component-macro"
70867086version = " 46.0.0"
7087- source = " registry+https://github.com/rust-lang/crates.io-index"
7088- checksum = " de4451ab437d7b2d41e637a4379e87ff76aeeb051236064dcc75c1855714ee58"
70897087dependencies = [
70907088 " anyhow" ,
70917089 " proc-macro2" ,
Original file line number Diff line number Diff line change @@ -91,5 +91,5 @@ codegen-units = 1
9191
9292# If you want to use a crate with local modifications, you can set a path or git dependency here.
9393# For git dependencies, also add your source to ALLOWED_SOURCES in src/tools/tidy/src/extdeps.rs.
94- # [patch.crates-io]
95-
94+ [patch .crates-io ]
95+ wasmtime-internal-component-macro = { path = " ./vendored/component-macro " }
Original file line number Diff line number Diff line change @@ -47,6 +47,7 @@ ignore = [
4747 " src/tools/rustc-perf" ,
4848 " src/tools/rustfmt" ,
4949 " src/gcc" ,
50+ " vendored" ,
5051
5152 # These are ignored by a standard cargo fmt run.
5253 " compiler/rustc_codegen_cranelift/scripts" ,
Original file line number Diff line number Diff line change 1+ [package ]
2+ name = " wasmtime-internal-component-macro"
3+ version = " 46.0.0"
4+ description = " INTERNAL: Macros for deriving component interface types from Rust types"
5+ license = " Apache-2.0 WITH LLVM-exception"
6+ repository = " https://github.com/bytecodealliance/wasmtime"
7+ documentation = " https://docs.rs/wasmtime-component-macro/"
8+ categories = [" wasm" ]
9+ keywords = [" webassembly" , " wasm" ]
10+ edition = " 2024"
11+
12+ [lib ]
13+ proc-macro = true
14+ test = false
15+ doctest = false
16+
17+ [dependencies ]
18+ anyhow = " 1"
19+ proc-macro2 = " 1"
20+ quote = " 1"
21+ syn = { version = " 2" , features = [" extra-traits" ] }
22+ wasmtime-component-util = { version = " 46.0.0" , package = ' wasmtime-internal-component-util' }
23+ wasmtime-wit-bindgen = { version = " 46.0.0" , package = ' wasmtime-internal-wit-bindgen' }
24+ wit-parser = " 0.251.0"
25+
26+ [features ]
27+ async = [' wasmtime-wit-bindgen/async' ]
28+ component-model-async = [' async' , ' wasmtime-wit-bindgen/component-model-async' ]
Original file line number Diff line number Diff line change 1+ fn main ( ) {
2+ println ! ( "cargo:rerun-if-changed=build.rs" ) ;
3+ let out_dir = std:: env:: var ( "OUT_DIR" ) . unwrap ( ) ;
4+ println ! ( "cargo:rustc-env=DEBUG_OUTPUT_DIR={out_dir}" ) ;
5+ }
You can’t perform that action at this time.
0 commit comments