Skip to content
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

cross run: stderr not respected #51

Closed
japaric opened this issue Jan 11, 2017 · 1 comment
Closed

cross run: stderr not respected #51

japaric opened this issue Jan 11, 2017 · 1 comment

Comments

@japaric
Copy link
Contributor

japaric commented Jan 11, 2017

Everything is funneled through stdout

@Alexhuszagh
Copy link
Contributor

This is no longer true in recent versions of cross. A simple test shows stdout and stderr are respected, where 1>/dev/null suppresses stdout and 2>/dev/null suppresses stderr.

$ cross run --target riscv64gc-unknown-linux-gnu 1>/dev/null
    Finished dev [unoptimized + debuginfo] target(s) in 0.02s
     Running `/linux-runner riscv64 /target/riscv64gc-unknown-linux-gnu/debug/hellopp`
$ cross run --target riscv64gc-unknown-linux-gnu 2>/dev/null
Hello, world!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants