1 //! The dummy implementation of garbage-collection, for when the `gc` Cargo
2 //! feature is disabled.
3 //!
4 //! We provide dummy/uninhabited types so that downstream users (and the rest of
5 //! Wasmtime) need to do fewer `#[cfg(...)]`s for when GC is enabled versus
6 //! disabled at compile time. While we implement dummy methods for these types'
7 //! public methods, we do not, however, create dummy constructors constructors.
8 
9 #![expect(missing_docs, unreachable_code, reason = "dummy module")]
10 
11 mod anyref;
12 mod arrayref;
13 mod eqref;
14 mod exnref;
15 mod externref;
16 mod i31;
17 mod rooting;
18 mod structref;
19 
20 pub use anyref::*;
21 pub use arrayref::*;
22 pub use eqref::*;
23 pub use exnref::*;
24 pub use externref::*;
25 pub use i31::*;
26 pub use rooting::*;
27 pub use structref::*;
28