Skip to content

Rollup of 10 pull requests #93917

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

Closed
wants to merge 27 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
69803f7
Make `span_extend_to_prev_str()` more robust
FabianWolff Jan 15, 2022
71ff16b
Update test output for `ui/asm/aarch64/parse-error.rs`
FabianWolff Jan 31, 2022
2d0bb0d
jsondocck: Improved error messages for invalid json value and failed …
aDotInTheVoid Feb 4, 2022
bf0e862
rustdoc-json: Add some tests for `typealias` item
aDotInTheVoid Feb 4, 2022
1115f15
windows: Map `ERROR_INVALID_NAME` as `InvalidInput`
JohnTitor Nov 16, 2021
755e475
Rename `FilenameTooLong` to `FilenameInvalid`
JohnTitor Jan 31, 2022
cc94079
Map `ERROR_INVALID_NAME` to `FilenameInvalid`
JohnTitor Jan 31, 2022
861f3c7
Fix description of FilenameInvalid
joshtriplett Jan 31, 2022
a898b31
Rename to `InvalidFilename`
JohnTitor Feb 10, 2022
d39a637
Split PAuth target feature
adamgemmell Jan 31, 2022
abb4a0e
Add a `process_group` method to UNIX `CommandExt`
krallin Feb 3, 2022
1f98ef7
Implement `AsFd` for `&T` and `&mut T`.
sunfishcode Feb 11, 2022
22a24c9
Add missing platform-specific information on current_dir and set_curr…
GuillaumeGomez Feb 3, 2022
45dc8eb
fix mention of moved function in `rustc_hir` docs
rosefromthedead Feb 11, 2022
f9cb01f
Fix typo: explicitely->explicitly
saschanaz Feb 11, 2022
55ceed8
Remove the alt_std_name option
bjorn3 Jan 14, 2022
7ba4110
Make two functions private
bjorn3 Jun 25, 2021
5ccee0e
Rollup merge of #90955 - JohnTitor:os-error-123-as-invalid-input, r=m…
matthiaskrgr Feb 11, 2022
9bbd8ec
Rollup merge of #91607 - FabianWolff:issue-91560-const-span, r=jackh726
matthiaskrgr Feb 11, 2022
9c6b8c7
Rollup merge of #92895 - bjorn3:simplifications, r=jackh726
matthiaskrgr Feb 11, 2022
7020697
Rollup merge of #93635 - GuillaumeGomez:missing-platform-spec-info, r…
matthiaskrgr Feb 11, 2022
985e34e
Rollup merge of #93660 - aDotInTheVoid:rustdoc-type-tests, r=CraftSpider
matthiaskrgr Feb 11, 2022
a516454
Rollup merge of #93782 - adamgemmell:dev/adagem01/split-pauth, r=Amanieu
matthiaskrgr Feb 11, 2022
544fcfe
Rollup merge of #93858 - krallin:process-process_group, r=joshtriplett
matthiaskrgr Feb 11, 2022
ee92dff
Rollup merge of #93888 - sunfishcode:sunfishcode/impl-asfd-for-ref, r…
matthiaskrgr Feb 11, 2022
329e505
Rollup merge of #93909 - saschanaz:patch-2, r=petrochenkov
matthiaskrgr Feb 11, 2022
73dc39e
Rollup merge of #93910 - rosehuds:master, r=cjgillot
matthiaskrgr Feb 11, 2022
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Make two functions private
  • Loading branch information
bjorn3 committed Feb 11, 2022
commit 7ba4110012730bffeb4eeb857a1f8ea408bdc9cc
4 changes: 2 additions & 2 deletions compiler/rustc_interface/src/util.rs
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ fn get_stack_size() -> Option<usize> {
/// Like a `thread::Builder::spawn` followed by a `join()`, but avoids the need
/// for `'static` bounds.
#[cfg(not(parallel_compiler))]
pub fn scoped_thread<F: FnOnce() -> R + Send, R: Send>(cfg: thread::Builder, f: F) -> R {
fn scoped_thread<F: FnOnce() -> R + Send, R: Send>(cfg: thread::Builder, f: F) -> R {
// SAFETY: join() is called immediately, so any closure captures are still
// alive.
match unsafe { cfg.spawn_unchecked(f) }.unwrap().join() {
Expand Down Expand Up @@ -379,7 +379,7 @@ fn sysroot_candidates() -> Vec<PathBuf> {
}
}

pub fn get_codegen_sysroot(maybe_sysroot: &Option<PathBuf>, backend_name: &str) -> MakeBackendFn {
fn get_codegen_sysroot(maybe_sysroot: &Option<PathBuf>, backend_name: &str) -> MakeBackendFn {
// For now we only allow this function to be called once as it'll dlopen a
// few things, which seems to work best if we only do that once. In
// general this assertion never trips due to the once guard in `get_codegen_backend`,
Expand Down