Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions content/docs/development/extending-the-runtime.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -326,9 +326,10 @@ that pins the behaviour is `register_overwrites` at `:190-197`).

An unknown `use` value is a hard error listing what is registered
(`drivers/mod.rs:232-247`). If the registry is empty the message instead reads
"No node types are registered. Call `register_driver!()` first, or depend on a
crate that registers its driver types." (`drivers/mod.rs:286`) — the same macro
this page uses, so there is nothing to translate.
"No node types are registered. Register your driver with
`register_driver!(Type, factory)`, or depend on a crate that registers its
types." (`drivers/mod.rs:286`) — the same macro this page uses, so there is
nothing to translate.

<Callout type="warning" title="`register_driver!` emits an ELF constructor with no `cfg` guard">
The macro registers by emitting a static into `.init_array` — the ELF
Expand Down
Loading