Closed
Description
With the asm! templates.
You can see the code at https://github.com/GBGamer/os-dev/blob/master/kernel/low_level.rs
The specific assertion is:
rustc --emit=obj --target=i686-unknown-linux-gnu -C no-stack-check -C relocation-model=dynamic-no-pic --crate-type lib -L kernel/deps kernel/lib.rs -o kernel/lib.o
rustc: /home/rustbuild/src/rust-buildbot/slave/nightly-dist-rustc-linux/build/src/llvm/include/llvm/CodeGen/FunctionLoweringInfo.h:158: unsigned int llvm::FunctionLoweringInfo::InitializeRegForValue(const llvm::Value*): Assertion `R == 0 && "Already initialized this value register!"' failed.
make: *** [kernel/lib.o] Aborted (core dumped)
Metadata
Metadata
Assignees
Labels
No labels