Uh oh!
There was an error while loading. Please reload this page.
Avoid building as root with sudo make install - #17009
Merged
Merged
Conversation
When running `sudo make install`, we only want to run the actual install as root, the building of the documentation and the distribution folder should happen as the non-root user. Related to rust-lang#13728.
pnkfelix
commented
Sep 5, 2014
Contributor
(I will try to look at this, to determine whether it is preferable over the other solution previously discussed by team as noted by #13728 (comment) ) |
lilyball
commented
Sep 5, 2014
ContributorAuthor
@pnkfelix A benefit of this approach is |
alexcrichton
commented
Sep 22, 2014
Member
lilyball
commented
Sep 22, 2014
ContributorAuthor
AFAIK it's good. I don't know if @pnkfelix has looked at it yet. |
bors added a commit
that referenced
this pull request
Oct 17, 2014
When running `sudo make install`, we only want to run the actual install as root, the building of the documentation and the distribution folder should happen as the non-root user. Related to #13728.
RalfJung pushed a commit
to RalfJung/rust
that referenced
this pull request
Apr 26, 2024
…ykril Support hovering limits for adts Fixrust-lang#17009 1. Currently, r-a supports limiting the number of struct fields displayed when hovering. This PR extends it to support enum variants and union fields. Since the display of these three (ADTs) is similar, this PR extends 'hover_show_structFields' to 'hover_show_adtFieldsOrVariants'. 2. This PR also resolved the problem that the layout of ADT was not restricted by display limitations when hovering on the Self type. 3. Additionally, this PR changes the default value of display limitations to `10` (instead of the original `null`), which helps users discover this feature.
RalfJung pushed a commit
to RalfJung/rust
that referenced
this pull request
Apr 27, 2024
…ykril Support hovering limits for adts Fixrust-lang#17009 1. Currently, r-a supports limiting the number of struct fields displayed when hovering. This PR extends it to support enum variants and union fields. Since the display of these three (ADTs) is similar, this PR extends 'hover_show_structFields' to 'hover_show_adtFieldsOrVariants'. 2. This PR also resolved the problem that the layout of ADT was not restricted by display limitations when hovering on the Self type. 3. Additionally, this PR changes the default value of display limitations to `10` (instead of the original `null`), which helps users discover this feature.
flip1995 added a commit
to flip1995/rust
that referenced
this pull request
May 13, 2026
r? @ghost changelog: none
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When running
sudo make install, we only want to run the actual installas root, the building of the documentation and the distribution folder
should happen as the non-root user.
Related to #13728.