Skip to content

Commit 6ae5f36

Browse files
authored
Update codegen-backend.md
1 parent 9ff647a commit 6ae5f36

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/doc/unstable-book/src/compiler-flags/codegen-backend.md

+3
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ backend. The library must be of crate type `dylib` and must contain a function
1212
named `__rustc_codegen_backend` with a signature of `fn() -> Box<dyn rustc_codegen_ssa::traits::CodegenBackend>`.
1313

1414
## Example
15+
See also the [`hotplug_codegen_backend`](https://github.com/rust-lang/rust/tree/master/src/test/run-make-fulldeps/hotplug_codegen_backend) test
16+
for a full example.
17+
1518
```rust,ignore
1619
use rustc_codegen_ssa::traits::CodegenBackend;
1720

0 commit comments

Comments
 (0)