Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

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

fix: handle pointee_align#621

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Open
g4titanx wants to merge1 commit intorust-lang:master
base:master
Choose a base branch
Loading
fromg4titanx:handle_pointee_align

Conversation

g4titanx
Copy link
Contributor

@g4titanxg4titanx commentedFeb 6, 2025
edited
Loading

this prfixes#606

@@ -138,6 +138,13 @@ impl<'gcc, 'tcx> FnAbiGccExt<'gcc, 'tcx> for FnAbi<'tcx, Ty<'tcx>> {
if attrs.regular.contains(rustc_target::abi::call::ArgAttribute::NonNull) {
non_null_args.push(arg_index as i32 + 1);
}
if let Some(align) = attrs.pointee_align {
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't believe this is correct to put this here since it will be ignored when optimizations are disabled.

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

@antoyoantoyoantoyo left review comments

Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

Handle pointee_align
2 participants
@g4titanx@antoyo

[8]ページ先頭

©2009-2025 Movatter.jp