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

Prefer bundled gcc #17412

Merged
merged 2 commits into from
Sep 21, 2014
Merged

Prefer bundled gcc #17412

merged 2 commits into from
Sep 21, 2014

Conversation

vadimcn
Copy link
Contributor

@vadimcn vadimcn commented Sep 20, 2014

Fixes #17251

…n|lib). This way the libs won't be on the -L library search path, and won't confuse external gcc, if one is used. The bundled gcc itself will still be able to find them, because it searches for libs relative to own install location.
bors added a commit that referenced this pull request Sep 21, 2014
@bors bors closed this Sep 21, 2014
@bors bors merged commit 94f0532 into rust-lang:master Sep 21, 2014
@vadimcn vadimcn deleted the gccpref branch March 1, 2015 08:03
lnicola pushed a commit to lnicola/rust that referenced this pull request Jun 23, 2024
…=Veykril

fix: add a breaker to avoid infinite loops from source root cycles

See rust-lang#17409

This patch prevents infinite looping from cycles by giving up if the number of source roots checked for a config value reaches the total number of source roots.

Alternative more precise options include creating a set of all source roots visited and giving up as soon as a cycle is encountered, but I wasn't sure how costly an allocation would be here for performance.

Can confirm that locally this fixes the problem for me.
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

Successfully merging this pull request may close these issues.

Windows 32 bits nightlies fail to compile a simple hello world
3 participants