Blueberry information 1419 glöps
- general:
- level: user
- personal:
- first name: Aske Simon
- last name: Christensen
- cdcs:
- cdc #1: Nexus-7 by Andromeda [web]
- cdc #2: Tint by The Black Lotus [web]
- cdc #3: Gift by Potion
- cdc #4: STS-02: Electric Kool-Aid by Synesthetics
- cdc #5: TBC Realtime Experience by Too Bloody Cheesy [web]
- demotool Windows Crinkler by Loonies [web] & TBC
- Ah, now I noticed that you were asking about lib files from rustc.
Indeed those are rejected by Crinkler with the the message
Code:error LNK: Unsupported file type
This is definitely worth looking into.
Anyway, I learned a lot from my detour with the no_std example above. Thanks for bringing it up.
I wonder when we will see the first 4k intro coded in Rust? ;) - isokadded on the 2019-12-05 22:43:29
- demotool Windows Crinkler by Loonies [web] & TBC
- Not knowing what you meant by "fails to", I tried it out to see what the issue was. With no_std it seems to work fine. I have:
Code:#![no_std] #![no_main] use core::panic::PanicInfo; #[panic_handler] fn panic(_info: &PanicInfo) -> ! { loop {} } #[no_mangle] pub extern "C" fn main() { unsafe { printf("Hello World!\n\0".as_ptr()); } } extern "cdecl" { pub fn printf(text: *const u8); }
which I compile with:
Code:rustc no_std_hello.rs --emit obj --target i686-pc-windows-msvc -C panic=abort
and link with (omitting LIBPATH):
Code:crinkler no_std_hello.o /ENTRY:main kernel32.lib user32.lib msvcrt_old.lib
The resulting out.exe is 484 bytes and prints correctly.
What is the problem you are encountering? - isokadded on the 2019-12-01 15:28:31
- 64k Amiga AGA Goon Royale by Spaceballs [web]
- Effects, style and music come together in a fresh way here.
- rulezadded on the 2019-10-28 18:05:58
- 4k Windows Then and Before by Altair
- Everything comes together beautifully here.
- rulezadded on the 2019-10-20 22:03:28
- 4k Windows Hutger Rauer by k2 [web]
- That's a cool one!
- rulezadded on the 2019-10-20 21:48:28
- 4k Windows Selene by Syntagma
- Yay. 3D is the new 2D. ;)
- rulezadded on the 2019-10-20 21:38:27
- 4k Windows Treasury by Tifeco
- Nice concept. And what Gargaj said.
- isokadded on the 2019-10-20 21:34:32
- 4k Windows Up and Down by Pungas De Villa Martelli [web]
- Nice colors indeed.
- isokadded on the 2019-10-20 21:30:33
- 4k Windows paavo v force by Fit [web]
- The lighting is rather overexposed in places, but otherwise, nice one.
- isokadded on the 2019-10-20 21:26:16
- 4k Windows Palletmania
- Mmmm, colors. :)
- rulezadded on the 2019-10-20 21:20:40
account created on the 2004-11-26 18:36:35
