8000 Rollup of 9 pull requests by matthiaskrgr · Pull Request #131723 · rust-lang/rust · GitHub
[go: up one dir, main page]

Skip to content

Rollup of 9 pull requests #131723

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

Merged
merged 20 commits into from
Oct 15, 2024
Merged
Changes from 1 commit
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
e904761
Use environment variables instead of command line arguments for merge…
GuillaumeGomez Oct 1, 2024
2bd0d07
Expand set_ptr_value / with_metadata_of docs
197g Oct 6, 2024
c128b4c
Fix typo thing->thin referring to pointer
197g Oct 13, 2024
feecfaa
Fix bug where `option_env!` would return `None` when env var is prese…
beetrees Mar 18, 2024
b6b6c12
Update lint message for ABI not supported
tdittr Oct 14, 2024
c6e1fbf
Fix up-to-date checking for run-make tests
Zalathar Oct 14, 2024
7500e09
Move trait bound modifiers into hir::PolyTraitRef
compiler-errors Oct 13, 2024
95dba28
Move trait bound modifiers into ast::PolyTraitRef
compiler-errors Oct 13, 2024
c3b696d
Suppress import errors for traits that couldve applied in method look…
compiler-errors Oct 14, 2024
eb6062c
Resolved python deprecation warning in publish_toolstate.py
alex Oct 14, 2024
dda3066
Remove `'apostrophes'` from `rustc_parse_format`
ShE3py Oct 14, 2024
6d99996
Rollup merge of #122670 - beetrees:non-unicode-option-env-error, r=co…
matthiaskrgr Oct 15, 2024
bb2f970
Rollup merge of #131095 - GuillaumeGomez:switch-to-env-variables, r=n…
matthiaskrgr Oct 15, 2024
09103f2
Rollup merge of #131339 - HeroicKatora:set_ptr_value-documentation, r…
matthiaskrgr Oct 15, 2024
4d53a28
Rollup merge of #131652 - compiler-errors:modifiers, r=Nadrieril,jiey…
matthiaskrgr Oct 15, 2024
bd649b4
Rollup merge of #131675 - tdittr:update-unsupported-abi-message, r=co…
matthiaskrgr Oct 15, 2024
258c177
Rollup merge of #131681 - Zalathar:fix-run-make-stamp, r=jieyouxu
matthiaskrgr Oct 15, 2024
2e2c433
Rollup merge of #131702 - compiler-errors:method-lookup-trait-warning…
matthiaskrgr Oct 15, 2024
d82a49d
Rollup merge of #131703 - alex:patch-1, r=Kobzol
matthiaskrgr Oct 15, 2024
c99c4d4
Rollup merge of #131710 - ShE3py:parse_format_apostrophes, r=compiler…
matthiaskrgr Oct 15, 2024
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
Resolved python deprecation warning in publish_toolstate.py
`utcnow()` is deprecated in favor of passing a timezone to `now()`. `utcnow()` would return a tz-naive datetime, while this returns a tz-aware datetime. For the purposes of the formatting we do, these are the same.
  • Loading branch information
alex authored Oct 14, 2024
commit eb6062ce00cce6fa1973466e6b2fb376e3e89cc8
4 changes: 3 additions & 1 deletion src/tools/publish_toolstate.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,7 +235,9 @@ def update_latest(
exit(0)

cur_commit = sys.argv[1]
cur_datetime = datetime.datetime.utcnow().strftime('%Y-%m-%dT%H:%M:%SZ')
cur_datetime = datetime.datetime.now(datetime.timezone.utc).strftime(
'%Y-%m-%dT%H:%M:%SZ'
)
cur_commit_msg = sys.argv[2]
save_message_to_path = sys.argv[3]
github_token = sys.argv[4]
Expand Down
Loading
0