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

error: unsupported operation: can't call foreign function: pipe2 #2658

Closed
zzau13 opened this issue Nov 8, 2022 · 2 comments
Closed

error: unsupported operation: can't call foreign function: pipe2 #2658

zzau13 opened this issue Nov 8, 2022 · 2 comments

Comments

@zzau13
Copy link

zzau13 commented Nov 8, 2022

https://github.com/botika/unblock/actions/runs/3412767433/jobs/5678690824#step:4:124

MIRIFLAGS=-Zmiri-symbolic-alignment-check -Zmiri-disable-isolation -Zmiri-ignore-leaks

Launch using std::process::Command in another thread. All others test in crate runs well.

@oli-obk
Copy link
Contributor

oli-obk commented Nov 8, 2022

This is already tracked in #2057

You can use -Zmiri-panic-on-unsupported to turn that interpreter halt into a panic handled by the test suite, or you can #[cfg(not(miri))] your test to skip it.

@oli-obk oli-obk closed this as completed Nov 8, 2022
@RalfJung
Copy link
Member

RalfJung commented Nov 8, 2022

Yeah, Command is not supported by Miri (and it seems quite hard to do so).

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

No branches or pull requests

3 participants