 arg: usize);
}
<span class="boring">}</span></code></pre></pre>
<p>The <code>context_switch</code> function must be implemented for each architecture
to enable context switching.</p>
<pre><pre class="playground"><code class="language-rust"><span class="boring">#![allow(unused)]
</span><span class="boring">fn main() {
</span>extern "C" {
    /// Switch context from `current` to `next`.
    pub fn context_switch(current: *mut ArchContext, next: *const ArchContext);
}
<span class="boring">}</span></code></pre