Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixes and test for x86_64-unknown-linux-gnux32 #824

Merged
merged 5 commits into from
Oct 28, 2017
Merged

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

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!

@@ -68,4 +68,10 @@ if [ "$QEMU" != "" ]; then
exec grep "^PASSED .* tests" $CARGO_TARGET_DIR/out.log
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