diff options
| author | XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com> | 2020-10-14 14:49:15 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-10-14 14:49:15 +0200 |
| commit | 6ae5f36d0d4527224295fbcd26ddbd70072cd6b8 (patch) | |
| tree | c45051c0d67b25ea277d9452bb0cced58de3eb25 | |
| parent | 9ff647a0d1565aa95069a5fc876b57cb35d6da16 (diff) | |
| download | rust-6ae5f36d0d4527224295fbcd26ddbd70072cd6b8.tar.gz rust-6ae5f36d0d4527224295fbcd26ddbd70072cd6b8.zip | |
Update codegen-backend.md
| -rw-r--r-- | src/doc/unstable-book/src/compiler-flags/codegen-backend.md | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/doc/unstable-book/src/compiler-flags/codegen-backend.md b/src/doc/unstable-book/src/compiler-flags/codegen-backend.md index 87b2184676a..878c894a6ca 100644 --- a/src/doc/unstable-book/src/compiler-flags/codegen-backend.md +++ b/src/doc/unstable-book/src/compiler-flags/codegen-backend.md @@ -12,6 +12,9 @@ backend. The library must be of crate type `dylib` and must contain a function named `__rustc_codegen_backend` with a signature of `fn() -> Box<dyn rustc_codegen_ssa::traits::CodegenBackend>`. ## Example +See also the [`hotplug_codegen_backend`](https://github.com/rust-lang/rust/tree/master/src/test/run-make-fulldeps/hotplug_codegen_backend) test +for a full example. + ```rust,ignore use rustc_codegen_ssa::traits::CodegenBackend; |
