Skip to content

Conversation

@malbarbo
Copy link
Contributor

@malbarbo malbarbo commented Oct 27, 2017

This fixes all libc tests and almost all rustc tests (3 libstd tests and one run-pass test fails).

Fixes #816

__pad1: u32,
pub u_ar0: *mut user_regs_struct,
#[cfg(target_pointer_width = "32")]
__pad2: u32,
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Considering the definition of the user struct, it's seems odd to add a pad before the field, but without it, the test fails...

Copy link
Member

Choose a reason for hiding this comment

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

shrug

- cargo build
- cargo build --no-default-features
- cargo build $OPT
- cargo build $OPT --no-default-features
Copy link
Member

Choose a reason for hiding this comment

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

I think this may not be necessary due to the clause in run.sh below?

Copy link
Member

Choose a reason for hiding this comment

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

Oh nvmd, I see!

fi

exec cargo test --manifest-path libc-test/Cargo.toml --target $TARGET
# FIXME: x86_64-unknown-linux-gnux32 fail to compile wihout --release
Copy link
Member

Choose a reason for hiding this comment

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

Perhaps an issue could be filed to tag here as well?

@alexcrichton
Copy link
Member

Nice! Everything looks great here modulo one nit for the issue to tag, and otherwise r=me

@alexcrichton
Copy link
Member

@bors: r+

@bors
Copy link
Contributor

bors commented Oct 27, 2017

📌 Commit e63f46a has been approved by alexcrichton

@bors
Copy link
Contributor

bors commented Oct 27, 2017

⌛ Testing commit e63f46a with merge d72a691...

bors added a commit that referenced this pull request Oct 27, 2017
Fixes and test for x86_64-unknown-linux-gnux32

This fixes all libc tests and almost all rustc tests (3 libstd tests and one run-pass test fails).

Fixes #816
@bors
Copy link
Contributor

bors commented Oct 27, 2017

💔 Test failed - status-travis

@alexcrichton
Copy link
Member

@bors: retry

@bors
Copy link
Contributor

bors commented Oct 28, 2017

⌛ Testing commit e63f46a with merge 10ac3df...

bors added a commit that referenced this pull request Oct 28, 2017
Fixes and test for x86_64-unknown-linux-gnux32

This fixes all libc tests and almost all rustc tests (3 libstd tests and one run-pass test fails).

Fixes #816
@bors
Copy link
Contributor

bors commented Oct 28, 2017

☀️ Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing 10ac3df to master...

@bors bors merged commit e63f46a into rust-lang:master Oct 28, 2017
This was referenced Oct 28, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Enable travis test for x86_64-unknown-linux-gnux32

3 participants