You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building rustc in debug mode with just debug=true in config.toml seems to generate a ridiculous number of codegen units. It fails with an error in linking:
note: LINK : fatal error LNK1189: library limit of 65535 objects exceeded
The command I was running:
x.py test src/test/compile-fail --stage 1 --test-args <irrelevant>
Setting codegen_units to 0 in config.toml fixes the problem, as that limits it to the number of cores in the machine.
Building
rustc
in debug mode with justdebug=true
inconfig.toml
seems to generate a ridiculous number of codegen units. It fails with an error in linking:The command I was running:
Setting
codegen_units
to 0 inconfig.toml
fixes the problem, as that limits it to the number of cores in the machine.cc @alexcrichton
The text was updated successfully, but these errors were encountered: