-
Notifications
You must be signed in to change notification settings - Fork 119
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
Fix failing test for Windows master
CI
#321
Conversation
@@ -201,7 +201,7 @@ fn exec_cargo_for_wasm_target( | |||
// Currently will override user defined RUSTFLAGS from .cargo/config. See https://github.com/paritytech/cargo-contract/issues/98. | |||
std::env::set_var( | |||
"RUSTFLAGS", | |||
"-C link-arg=-z -C link-arg=stack-size=65536 -C link-arg=--import-memory", | |||
"-C link-arg=-zstack-size=65536 -C link-arg=--import-memory", |
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.
For some reason (which I don't fully understand) there is an issue with the Windows CI currently failing on master
for one specific test if the -z
is passed separately of the stack-size
argument, which actually belongs to it. Since both versions should be equal I would change it to this.
), | ||
"Expected a different output, found {:?}", | ||
res | ||
); |
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 test is flaky sometimes, if the CI is re-run it succeeds. I added output of the res
to have some more info when if fails spuriously again.
cargo contract test
on Windowsmaster
CI
No description provided.