-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
support for GNU configure syntax #9990
Conversation
Thanks again @Heather 🎆 |
@Heather no, I'm not sure about changing |
Er, that last comment should have been on #9760 |
@brson well I can do it but I guess |
@Heather Maybe Here are my best guesses for all the default values:
Presumably |
@bors it's wrong in my opinion, everything should use prefix to allow sandboxed build and installation. |
|
@thestinger ah, right. I'm wrong there. Will use @brson solution then. |
@brson added correction |
@brson failed to build? where can I see exact log? |
@Heather the links in bors' output link to the log files. It appears that those links disappeared when you rebased and repushed. I r+ed again so let's see what happens this time. |
@brson |
@Heather I still don't understand that error on the bots, but I did some tests locally and discovered I needed the following diff in order for all the triple variables to be set up correctly. This does the conversion from the old
|
@brson thanks, added this patch. |
|
Re-created: #9760 Now, without adding `pc-linux-gnu` platform Re-created: #9565 t will be useful for unix systems, some package managers and external tools that is passing / maybe looking for GNU configure syntax options. One of related bugs: #5138 Also that could be useful in future if project will really install man pages / other stuff using those variables.
@brson -m32: command not found ? |
Hello... May someone help me to understand what is happening here? Should I rebase my branch now? |
@Heather I'll try a build on windows and see if I can figure out what's wrong. |
I can't reproduce this failure. I do see the strange errors about |
@brson rebased |
I don't want to keep asking for rebases so I rebased and reopened as #10164 |
Add configuration options to `--explain` This PR rearranges some modules, taking `metadata_collector` out of `internal_lints` and making public just the necessary functions for `explain()` to use. The output looks something like this: ```sh $ cargo run --bin cargo-clippy --manifest-path ../rust-clippy/Cargo.toml -- --explain cognitive_complexity ### What it does Checks for methods with high cognitive complexity. ### Why is this bad? Methods of high cognitive complexity tend to be hard to both read and maintain. Also LLVM will tend to optimize small methods better. ### Known problems Sometimes it's hard to find a way to reduce the complexity. ### Example You'll see it when you get the warning. ======================================== Configuration for clippy::cognitive_complexity: - cognitive-complexity-threshold: The maximum cognitive complexity a function can have (default: 25) ``` Fixes rust-lang#9990 r? `@xFrednet` --- changelog: Docs: `cargo clippy --explain LINT` now shows possible configuration options for the explained lint [rust-lang#10751](rust-lang/rust-clippy#10751) <!-- changelog_checked -->
Re-created: #9760
Now, without adding
pc-linux-gnu
platformRe-created: #9565
t will be useful for unix systems, some package managers and external tools that is passing / maybe looking for GNU configure syntax options.
One of related bugs: #5138
Also that could be useful in future if project will really install man pages / other stuff using those variables.