diff options
author | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-04-04 14:18:33 +0200 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2025-04-14 18:23:53 +0200 |
commit | 6dcbbcd27c534df3a4b8d0d0d0319677b8edee08 (patch) | |
tree | eddb083352bab3e9d24a3e913268bd202533dda9 /gcc/rust/ast/rust-expr.h | |
parent | eb5eee065b3e5fe189ea1f51dc88eae7dc4c25d6 (diff) | |
download | gcc-6dcbbcd27c534df3a4b8d0d0d0319677b8edee08.zip gcc-6dcbbcd27c534df3a4b8d0d0d0319677b8edee08.tar.gz gcc-6dcbbcd27c534df3a4b8d0d0d0319677b8edee08.tar.bz2 |
gccrs: nr2.0: Do not resolve modules this run if they are unloaded
Instead, mark the visitor as dirty and wait for the next round of the fixed point to take care of
them. This avoids issues with module items being loaded while not being stripped yet.
gcc/rust/ChangeLog:
* resolve/rust-toplevel-name-resolver-2.0.cc (TopLevel::visit): Return if module
is unloaded.
Diffstat (limited to 'gcc/rust/ast/rust-expr.h')
0 files changed, 0 insertions, 0 deletions