Add some tools for rust by narpfel · Pull Request #7264 · compiler-explorer/compiler-explorer

Skip to content

Navigation Menu

Sign in

Appearance settings

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Appearance settings

Conversation

@narpfel

Copy link

Member

@narpfel narpfel commented

Jan 11, 2025

This adds the tools requested in #6796.

@narpfel

Copy link

Member Author

narpfel commented

Jan 11, 2025

Note that pahole requires passing -C debuginfo=2 because CE’s default (-C debuginfo=1) does not include type information in the debug information (ref).

Maybe CE should default to -C debuginfo=2 because that’s what cargo does in debug mode?

@junlarsen

Copy link

Member

I think debuginfo=2 seems reasonable.

Copy link

Member

@mattgodbolt mattgodbolt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

narpfel reacted with hooray emoji

@mattgodbolt mattgodbolt merged commit 0a23659 into compiler-explorer:main

Jan 24, 2025

12 checks passed

@narpfel narpfel deleted the rust-tools branch

January 24, 2025 17:44

@mattgodbolt

Copy link

Member

this is rolling out now

mattgodbolt pushed a commit to faramozzayw/compiler-explorer that referenced this pull request

Jan 30, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@mattgodbolt mattgodbolt mattgodbolt approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@narpfel @junlarsen @mattgodbolt