About no_std and windows

⚓ Rust    📅 2025-07-23    👤 surdeus    👁️ 2      

surdeus

Info

This post is auto-generated from RSS feed The Rust Programming Language Forum - Latest topics. Source: About no_std and windows

hi, i wanna use the pe format (windows uses this) in my osdev projects kernel, and well i dont know how to do this in rust with cargo

if i do #[no_std], it still includes various windows function (i looked at the imports section via dumpbin), which i dont want, i want it to be like a C program compiled via msvc with the /NODEFAULTLIB flag, which does not include the dll imports

5 posts - 4 participants

Read full topic

🏷️ Rust_feed