We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a0ea351 commit 9ff647aCopy full SHA for 9ff647a
src/doc/unstable-book/src/compiler-flags/codegen-backend.md
@@ -8,8 +8,8 @@ This feature allows you to specify a path to a dynamic library to use as rustc's
8
code generation backend at runtime.
9
10
Set the `-Zcodegen-backend=<path>` compiler flag to specify the location of the
11
-backend. The library must contain a function named `__rustc_codegen_backend`
12
-with a signature of `fn() -> Box<dyn rustc_codegen_ssa::traits::CodegenBackend>`.
+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>`.
13
14
## Example
15
```rust,ignore
0 commit comments