Rust Bare Bones: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
m Bot: Replace deprecated source tag with syntaxhighlight
m Bot: Replace deprecated source tag with syntaxhighlight
 
Line 18:
 
An example might be as follows (for an x86_64 platform):
<sourcesyntaxhighlight lang="c">
{
"llvm-target": "x86_64-unknown-none",
Line 44:
}
}
</syntaxhighlight>
</source>
 
Please note that you also need to provide a linker script. This is more or less analogous to what you could provide for a kernel built in a more conventional language like C. This is pretty dependent on which executable format and which bootloader you use (among other things), so this isn't listed here.