Fix failing test due to invalid_runtime_symbol_definitions#386
Merged
traviscross merged 1 commit intoJul 16, 2026
Merged
Conversation
rust-lang/rust#158522 added a new deny-by-default lint that rejects code that has the wrong definition for well-known functions like malloc. However, this test is explicitly trying to illustrate that, so it needs to reduce the lint level.
traviscross
approved these changes
Jul 16, 2026
jhpratt
added a commit
to jhpratt/rust
that referenced
this pull request
Jul 17, 2026
Update books ## rust-lang/book 2 commits in dd7ab4f4f4541adf4aa2a872cdac06c206b73288..917544888a55e4da7109bdba8c88c893c0da70f4 2026-07-14 01:25:25 UTC to 2026-07-14 01:19:11 UTC - Fix grammatical typo in Chapter 17-05 (rust-lang/book#4754) - hotfix: incorrect link format used in ch17-06 (rust-lang/book#4797) ## rust-lang/edition-guide 1 commits in 53686db907c45268d1b323afd9a3545a37abbced..5a14f7276ebc0bd100974f02b918f30472c782fc 2026-07-16 15:01:27 UTC to 2026-07-16 15:01:27 UTC - Fix failing test due to invalid_runtime_symbol_definitions (rust-lang/edition-guide#386)
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Jul 17, 2026
Update books ## rust-lang/book 2 commits in dd7ab4f4f4541adf4aa2a872cdac06c206b73288..917544888a55e4da7109bdba8c88c893c0da70f4 2026-07-14 01:25:25 UTC to 2026-07-14 01:19:11 UTC - Fix grammatical typo in Chapter 17-05 (rust-lang/book#4754) - hotfix: incorrect link format used in ch17-06 (rust-lang/book#4797) ## rust-lang/edition-guide 1 commits in 53686db907c45268d1b323afd9a3545a37abbced..5a14f7276ebc0bd100974f02b918f30472c782fc 2026-07-16 15:01:27 UTC to 2026-07-16 15:01:27 UTC - Fix failing test due to invalid_runtime_symbol_definitions (rust-lang/edition-guide#386)
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Jul 17, 2026
Update books ## rust-lang/book 2 commits in dd7ab4f4f4541adf4aa2a872cdac06c206b73288..917544888a55e4da7109bdba8c88c893c0da70f4 2026-07-14 01:25:25 UTC to 2026-07-14 01:19:11 UTC - Fix grammatical typo in Chapter 17-05 (rust-lang/book#4754) - hotfix: incorrect link format used in ch17-06 (rust-lang/book#4797) ## rust-lang/edition-guide 1 commits in 53686db907c45268d1b323afd9a3545a37abbced..5a14f7276ebc0bd100974f02b918f30472c782fc 2026-07-16 15:01:27 UTC to 2026-07-16 15:01:27 UTC - Fix failing test due to invalid_runtime_symbol_definitions (rust-lang/edition-guide#386)
JonathanBrouwer
added a commit
to JonathanBrouwer/rust
that referenced
this pull request
Jul 17, 2026
Update books ## rust-lang/book 2 commits in dd7ab4f4f4541adf4aa2a872cdac06c206b73288..917544888a55e4da7109bdba8c88c893c0da70f4 2026-07-14 01:25:25 UTC to 2026-07-14 01:19:11 UTC - Fix grammatical typo in Chapter 17-05 (rust-lang/book#4754) - hotfix: incorrect link format used in ch17-06 (rust-lang/book#4797) ## rust-lang/edition-guide 1 commits in 53686db907c45268d1b323afd9a3545a37abbced..5a14f7276ebc0bd100974f02b918f30472c782fc 2026-07-16 15:01:27 UTC to 2026-07-16 15:01:27 UTC - Fix failing test due to invalid_runtime_symbol_definitions (rust-lang/edition-guide#386)
rust-timer
added a commit
to rust-lang/rust
that referenced
this pull request
Jul 17, 2026
Rollup merge of #159400 - rustbot:docs-update, r=ehuss Update books ## rust-lang/book 2 commits in dd7ab4f4f4541adf4aa2a872cdac06c206b73288..917544888a55e4da7109bdba8c88c893c0da70f4 2026-07-14 01:25:25 UTC to 2026-07-14 01:19:11 UTC - Fix grammatical typo in Chapter 17-05 (rust-lang/book#4754) - hotfix: incorrect link format used in ch17-06 (rust-lang/book#4797) ## rust-lang/edition-guide 1 commits in 53686db907c45268d1b323afd9a3545a37abbced..5a14f7276ebc0bd100974f02b918f30472c782fc 2026-07-16 15:01:27 UTC to 2026-07-16 15:01:27 UTC - Fix failing test due to invalid_runtime_symbol_definitions (rust-lang/edition-guide#386)
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 free
to 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.
rust-lang/rust#158522 added a new deny-by-default lint that rejects code that has the wrong definition for well-known functions like malloc. However, this test is explicitly trying to illustrate that, so it needs to reduce the lint level.