about summary refs log tree commit diff
path: root/tests/rustdoc-js-std/osstring-to-string.js
diff options
context:
space:
mode:
authorChris Denton <chris@chrisdenton.dev>2025-04-20 13:02:49 +0000
committerGitHub <noreply@github.com>2025-04-20 13:02:49 +0000
commit5a961da316f0db15a0b7ff4303b41080e351264c (patch)
tree86e5a2f32d133f8df4b385b34d5167e6e00e536f /tests/rustdoc-js-std/osstring-to-string.js
parentd15c603173a65326a580aa7dfd543a352082e5b1 (diff)
parent957b5488a5fb3875006c06577d9049177ed971bc (diff)
downloadrust-5a961da316f0db15a0b7ff4303b41080e351264c.tar.gz
rust-5a961da316f0db15a0b7ff4303b41080e351264c.zip
Rollup merge of #139990 - jswrenn:no-nfas, r=tmiasko
transmutability: remove NFA intermediate representation

Prior to this commit, the transmutability analysis used an intermediate NFA representation of type layout. We then determinized this representation into a DFA, upon which we ran the core transmutability analysis. Unfortunately, determinizing NFAs is expensive. In this commit, we avoid NFAs entirely by observing that Rust `union`s are the only source of nondeterminism and that it is comparatively cheap to compute the DFA union of DFAs.

We also implement Graphviz DOT debug formatting of DFAs.

Fixes rust-lang/project-safe-transmute#23
Fixes rust-lang/project-safe-transmute#24

r? ``@compiler-errors``
Diffstat (limited to 'tests/rustdoc-js-std/osstring-to-string.js')
0 files changed, 0 insertions, 0 deletions