Skip to content

Conversation

joshlf
Copy link
Contributor

@joshlf joshlf commented Apr 16, 2025

When an NFA is already a DFA, we short-circuit NFA->DFA conversion,
avoiding the need to reconstruct the DFA.

r? @jswrenn

@rustbot rustbot added A-run-make Area: port run-make Makefiles to rmake.rs S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue. labels Apr 16, 2025
@rustbot
Copy link
Collaborator

rustbot commented Apr 16, 2025

This PR modifies run-make tests.

cc @jieyouxu

@joshlf joshlf force-pushed the transmute-short-circuit-nfa-dfa branch from 163e0e2 to 8ba547a Compare April 16, 2025 22:14
@rustbot rustbot added S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Apr 16, 2025
@joshlf
Copy link
Contributor Author

joshlf commented Apr 16, 2025

This PR modifies run-make tests.

cc @jieyouxu

This is a false positive because I previously included upstream commits by accident. Rebasing on the current master branch fixed this.

@rust-log-analyzer

This comment has been minimized.

@joshlf joshlf force-pushed the transmute-short-circuit-nfa-dfa branch from 8ba547a to 8234605 Compare April 16, 2025 22:26
@rustbot rustbot added A-compiletest Area: The compiletest test runner A-rustc-dev-guide Area: rustc-dev-guide A-testsuite Area: The testsuite used to check the correctness of rustc A-tidy Area: The tidy tool T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) labels Apr 16, 2025
@rustbot

This comment has been minimized.

@rustbot

This comment has been minimized.

@joshlf joshlf force-pushed the transmute-short-circuit-nfa-dfa branch from 8234605 to 648c6c0 Compare April 16, 2025 22:27
@rust-log-analyzer

This comment has been minimized.

@joshlf joshlf force-pushed the transmute-short-circuit-nfa-dfa branch from 648c6c0 to 71d222a Compare April 16, 2025 22:56
@rustbot

This comment has been minimized.

joshlf added 2 commits April 16, 2025 15:56
When an NFA is already a DFA, we short-circuit NFA->DFA conversion,
avoiding the need to reconstruct the DFA.
@joshlf joshlf force-pushed the transmute-short-circuit-nfa-dfa branch from 71d222a to f0be2b1 Compare April 16, 2025 22:57
@joshlf joshlf requested a review from jswrenn April 16, 2025 22:57
@rustbot rustbot added S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. and removed S-waiting-on-author Status: This is awaiting some action (such as code changes or more information) from the author. labels Apr 16, 2025
@jieyouxu jieyouxu removed the A-testsuite Area: The testsuite used to check the correctness of rustc label Apr 17, 2025
@jieyouxu jieyouxu removed T-bootstrap Relevant to the bootstrap subteam: Rust's build system (x.py and src/bootstrap) A-compiletest Area: The compiletest test runner A-run-make Area: port run-make Makefiles to rmake.rs A-tidy Area: The tidy tool A-rustc-dev-guide Area: rustc-dev-guide labels Apr 17, 2025
@bors
Copy link
Collaborator

bors commented Apr 21, 2025

☔ The latest upstream changes (presumably #140079) made this pull request unmergeable. Please resolve the merge conflicts.

@joshlf joshlf closed this Apr 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. T-compiler Relevant to the compiler team, which will review and decide on the PR/issue.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants