-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Rust helloworld example application #3
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Thanks, @huyhoang8398
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This App does not work on App ELF loader yet.
Apart from the Makefile not working, the resulting binary fails with
fatal runtime error: assertion failed: signal(libc::SIGPIPE, libc::SIG_IGN) != libc::SIG_ERR
It works on Linux, though.
The failing assert is here: std/src/sys/unix/mod.rs#L155
@@ -0,0 +1,4 @@ | |||
all: helloworld | |||
|
|||
helloworld: helloworld.rs: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Without removing the trailing colon I get
$ make
Makefile:3: *** target pattern contains no '%'. Stop.
helloworld: helloworld.rs: | |
helloworld: helloworld.rs |
@huyhoang8398 , @mkroening , I'm not able to get it to build. I get the error:
I've little experience with Rust and I aimed to solve this by using Could you please add a |
This is superseded by #8 from @mkroening |
add Rust helloworld programs