No runtime attribute?

Daniel Murphy via Digitalmars-d digitalmars-d at puremagic.com
Wed Dec 10 04:04:36 PST 2014


"bearophile"  wrote in message news:pibnlncyjzetohcnwyps at forum.dlang.org...

> The #[no_std] attribute is used to avoid the runtime in Rust.
>
> Do we have any use for a @noruntime attribute in D?
>
> All @noruntime functions are also @nogc (so you don't need to put both 
> attributes).
>

Why would you ever be writing code at this level and yet somehow not be able 
to just use the linker errors? 



More information about the Digitalmars-d mailing list