about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorDavid Wood <david.wood2@arm.com>2025-03-17 10:24:56 +0000
committerDavid Wood <david.wood2@arm.com>2025-06-16 23:04:36 +0000
commit607eb322a85c9c6dcc4af6999ecfc9d9d001be21 (patch)
tree68909055a4c4f3da52b4fb7ebdec2e9525b00d1f /compiler/rustc_codegen_gcc
parent47abf2e144e26e3a4d4f445b8c27a3fd73768e9d (diff)
downloadrust-607eb322a85c9c6dcc4af6999ecfc9d9d001be21.tar.gz
rust-607eb322a85c9c6dcc4af6999ecfc9d9d001be21.zip
trait_sel: skip elaboration of sizedness supertrait
As a performance optimization, skip elaborating the supertraits of
`Sized`, and if a `MetaSized` obligation is being checked, then look for
a `Sized` predicate in the parameter environment. This makes the
`ParamEnv` smaller which should improve compiler performance as it avoids
all the iteration over the larger `ParamEnv`.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions