-
Couldn't load subscription status.
- Fork 13.9k
Add test case for build example #148168
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
base: master
Are you sure you want to change the base?
Add test case for build example #148168
Conversation
|
This PR modifies |
|
rustbot has assigned @petrochenkov. Use |
This comment has been minimized.
This comment has been minimized.
tests/ui/issues/116729.stderr
Outdated
| @@ -0,0 +1,1171 @@ | |||
| note: $DIR/116729.rs:6:0 size-info (analysis): IRTranslator: Function: _ZN18build_script_build4main17h1686052d6c26e27eE: MI Instruction count changed from 0 to 13; Delta: 13 | |||
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.
//@ dont-check-compiler-stderr can be used to avoid generating this file.
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.
tests/ui/issues/116729.rs
Outdated
| @@ -0,0 +1,8 @@ | |||
| //@ build-pass | |||
| //@ rustc-env:CARGO_CRATE_NAME=build_script_build | |||
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 and --crate-name=build_script_build should be unnecessary for reproducing the segfault (but it needs checking).
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.
c3248e6 to
d962beb
Compare
Could not reproduce an issue, thus created a test
closes #116729