mirror of https://github.com/rust-lang/rust.git
Update src/doc/unstable-book/src/compiler-flags/codegen-backend.md
This commit is contained in:
parent
c50a04bba3
commit
a0ea35116b
|
@ -12,7 +12,7 @@ backend. The library must contain a function named `__rustc_codegen_backend`
|
||||||
with a signature of `fn() -> Box<dyn rustc_codegen_ssa::traits::CodegenBackend>`.
|
with a signature of `fn() -> Box<dyn rustc_codegen_ssa::traits::CodegenBackend>`.
|
||||||
|
|
||||||
## Example
|
## Example
|
||||||
```rust
|
```rust,ignore
|
||||||
use rustc_codegen_ssa::traits::CodegenBackend;
|
use rustc_codegen_ssa::traits::CodegenBackend;
|
||||||
|
|
||||||
struct MyBackend;
|
struct MyBackend;
|
||||||
|
|
Loading…
Reference in New Issue