Skip to content
New issue

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

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Better iOS support #20699

Merged
merged 6 commits into from
Jan 9, 2015
Merged

Better iOS support #20699

merged 6 commits into from
Jan 9, 2015

Conversation

vhbit
Copy link
Contributor

@vhbit vhbit commented Jan 7, 2015

Includes fixes to ABI and also now supports almost all targets available for iOS platform: armv7, armv7s, aarch64 (arm64) for devices and i386, x86_64 for simulator. So the only missing for now are thumbv7 and thumbv7s.

@rust-highfive
Copy link
Collaborator

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

@vhbit
Copy link
Contributor Author

vhbit commented Jan 7, 2015

It actually will pass all buildbots at is, but for actual compilation for aarch64 it requires rust-lang/compiler-rt#8 to land.

@vhbit
Copy link
Contributor Author

vhbit commented Jan 7, 2015

@alexcrichton any chance to get it into alpha?

@vhbit
Copy link
Contributor Author

vhbit commented Jan 8, 2015

Rebased after target_word_size -> target_pointer_width

@tomjakubowski
Copy link
Contributor

Need another rebase

@vhbit
Copy link
Contributor Author

vhbit commented Jan 8, 2015

@tomjakubowski can you elaborate? I've built with those changes after rollup

@vhbit
Copy link
Contributor Author

vhbit commented Jan 8, 2015

@tomjakubowski disregard prev message, fixed.

@tomjakubowski
Copy link
Contributor

At the time I commented there was a fresh merge conflict warning on the PR (and I didn't see recently pushed commits), I guess GitHub was just a bit out of sync!

.arg("-sdk")
.arg(sdk_name)
.spawn() {
Ok(child) => child,
Copy link
Member

Choose a reason for hiding this comment

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

You may want to also assert that the process exited with a 0 exit code as it may help debug when things go wrong.

@alexcrichton
Copy link
Member

Looks great, thanks @vhbit for the continued support here!

Now that I've merged rust-lang/compiler-rt#8, do you want to throw that in as well?

@vhbit
Copy link
Contributor Author

vhbit commented Jan 9, 2015

@alexcrichton addressed nits in new commits, will squash them later (and delete cabi_arm_ios.rs) if there is nothing more.

@alexcrichton
Copy link
Member

Ah I see now, looks good to me @vhbit! There's also a tidy error you may be interested in.

@vhbit
Copy link
Contributor Author

vhbit commented Jan 9, 2015

@alexcrichton tidy error is about URL to Apple docs, what is a preffered way to fix this (leave/split/use shortener)?

@alexcrichton
Copy link
Member

I'd be fine just splitting:

// http://example.com/really/long
//                   /url

vhbit added 2 commits January 9, 2015 18:23
- target_word_size -> target_pointer_width
- added armv7 and armv7s targets
- enabled building binaries so tests could be run on a jailbroken device
Now it is possible to run tests on a jailbroken device
@vhbit
Copy link
Contributor Author

vhbit commented Jan 9, 2015

@alexcrichton squashed with prev commits and cleaned up a bit

@vhbit
Copy link
Contributor Author

vhbit commented Jan 9, 2015

Nah, one more tidy issue :(

@vhbit
Copy link
Contributor Author

vhbit commented Jan 9, 2015

Fixed (hope it's the last thing)

bors added a commit that referenced this pull request Jan 9, 2015
Better iOS support

Reviewed-by: alexcrichton
@bors bors merged commit 577d0db into rust-lang:master Jan 9, 2015
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants