Replies: 2 comments 2 replies
-
import libc;
fn void main()
{
libc::printf("Hi!\n");
}
|
Beta Was this translation helpful? Give feedback.
1 reply
-
Deleting temporary files after compilation is annoying. My vote is for gcc/clang behavior. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
In
dev
imports work like this:import foo::bar;
will importfoo::bar
and any sub packages offoo::bar
foo::bar
can accessfoo::baz::my_function()
without an import.Try it out. Currently you're even required to import std::builtin. This will probably change.
Beta Was this translation helpful? Give feedback.
All reactions