Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- (cd /home/phcoder/grub/grub-core/rust; RUSTFLAGS="-C linker=gcc -Zregparm=3 -C link-args=-nostdlib" cargo build --target-dir=/home/phcoder/builds/m3rust/grub-core/rust --workspace --target=i586-unknown-linux-gnu -Z build-std=core,alloc -r)
- Compiling grub v0.1.0 (/home/phcoder/grub/grub-core/rust/grub_rust_core)
- error: expected `fn`, found `grubcall`
- --> grub_rust_core/src/lib.rs:38:15
- |
- 38 | unsafe extern grubcall!() {
- | ^^^^^^^^ expected `fn`
- error: could not compile `grub` (lib) due to 1 previous error
- macro_rules! grubcall {
- () => {
- "stdcall"
- };
- }
- unsafe extern grubcall!() {
- static grub_xputs: extern "stdcall" fn(stri: *const c_char);
- fn grub_abort();
Advertisement
Add Comment
Please, Sign In to add comment