From 6ae5f36d0d4527224295fbcd26ddbd70072cd6b8 Mon Sep 17 00:00:00 2001 From: XAMPPRocky <4464295+XAMPPRocky@users.noreply.github.com> Date: Wed, 14 Oct 2020 14:49:15 +0200 Subject: [PATCH] Update codegen-backend.md --- src/doc/unstable-book/src/compiler-flags/codegen-backend.md | 3 +++ 1 file changed, 3 insertions(+) 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 87b2184676aea..878c894a6ca70 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`. ## 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;