Skip to content

Rollup of 12 pull requests #137982

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 25 commits into from
Closed
Changes from 2 commits
Commits
Show all changes
25 commits
Select commit Hold shift + click to select a range
1cac5fa
Look for `python3` first on MacOS, not `py`
jyn514 Feb 13, 2025
477a2ee
std::fs: slightly reformat `remove_dir_all` error docs
jieyouxu Feb 18, 2025
9323ba5
Remove MaybeForgetReturn suggestion
compiler-errors Feb 20, 2025
b340545
[illumos] attempt to use posix_spawn to spawn processes
sunshowers Feb 11, 2025
b2bb7cc
Fix char count in Display for ByteStr
thaliaarchi Feb 28, 2025
41dd80a
add test to reproduce #137662 (using ty decl macro fragment in an att…
jdonszelmann Feb 26, 2025
476b098
adjust Layout debug printing to match the internal field names
RalfJung Feb 28, 2025
91034ad
Do not require that unsafe fields lack drop glue
jswrenn Feb 28, 2025
c97225b
`librustdoc`: 2024 edition! 🎊
yotamofek Feb 27, 2025
74c783c
Adapt `librustdoc` to 2024 edition lifetieme capture rules
yotamofek Feb 27, 2025
a89cddb
Add ``dyn`` keyword
Eclips4 Mar 3, 2025
3e5fddc
Allow struct field default values to reference struct's generics
compiler-errors Mar 3, 2025
12cc2b9
Remove unused `PpMode::needs_hir`
Zalathar Mar 4, 2025
c88c651
Rollup merge of #136975 - jyn514:macos-x, r=Mark-Simulacrum
matthiaskrgr Mar 4, 2025
79b691e
Rollup merge of #137240 - jieyouxu:remove_dir_all, r=Mark-Simulacrum
matthiaskrgr Mar 4, 2025
43b9c3e
Rollup merge of #137303 - compiler-errors:maybe-forgor, r=cjgillot
matthiaskrgr Mar 4, 2025
e409ab4
Rollup merge of #137463 - sunshowers:illumos-posix-spawn, r=Mark-Simu…
matthiaskrgr Mar 4, 2025
01d6bcf
Rollup merge of #137722 - yotamofek:pr/rustdoc/edition-2024, r=notriddle
matthiaskrgr Mar 4, 2025
37bc59a
Rollup merge of #137758 - jdonszelmann:fix-137662, r=nnethercote
matthiaskrgr Mar 4, 2025
8d2cfdf
Rollup merge of #137772 - thaliaarchi:bstr-display, r=joshtriplett
matthiaskrgr Mar 4, 2025
2b65e83
Rollup merge of #137805 - RalfJung:layout-debug-print, r=Noratrieb
matthiaskrgr Mar 4, 2025
f253bd9
Rollup merge of #137808 - jswrenn:droppy-unsafe-fields, r=nnethercote
matthiaskrgr Mar 4, 2025
3def7c7
Rollup merge of #137913 - compiler-errors:struct-field-default-generi…
matthiaskrgr Mar 4, 2025
df228f9
Rollup merge of #137963 - Eclips4:fix-E0373, r=compiler-errors
matthiaskrgr Mar 4, 2025
98c6bd4
Rollup merge of #137975 - Zalathar:needs-hir, r=compiler-errors
matthiaskrgr Mar 4, 2025
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
8 changes: 7 additions & 1 deletion x
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,13 @@ xpy=$(dirname "$(realpath "$0")")/x.py

# On Windows, `py -3` sometimes works. We need to try it first because `python3`
# sometimes tries to launch the app store on Windows.
for SEARCH_PYTHON in py python3 python python2; do
# On MacOS, `py` tries to install "Developer command line tools". Try `python3` first.
# NOTE: running `bash -c ./x` from Windows doesn't set OSTYPE.
case ${OSTYPE:-} in
cygwin*|msys*) SEARCH="py python3 python python2";;
*) SEARCH="python3 python py python2";;
esac
for SEARCH_PYTHON in $SEARCH; do
if python=$(command -v $SEARCH_PYTHON) && [ -x "$python" ]; then
if [ $SEARCH_PYTHON = py ]; then
extra_arg="-3"
Expand Down