Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[rust] switch to
-C debuginfo=2
(compiler-explorer#7266)
This is mainly for `pahole`, which requires type information that is only present with `-C debuginfo=2`: https://doc.rust-lang.org/rustc/codegen-options/index.html#debuginfo CE originally passed `-g` to `rustc` (which is an alias for `-C debuginfo=2`), but this was changed in c4411ff to `-C debuginfo=1` to work around rust-lang/rust#11906. However, this workaround never actually removed frame pointers, so switching back to `-C debuginfo=2` should not affect codegen for very old `rustc` versions. See also compiler-explorer#79.
- Loading branch information