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
Compilation for 32-bit architectures on nightly #300
Conversation
FYI; I ran a 32 bit ARM executable on my Moto Z Play (which admittedly
|
Sorry for being so slow with this! We can actually just use |
The one other thing, is that maybe we want to generally use AtomicI64 when |
Didn't know that was a thing, will change.
That means that it will still give a strange error on 32 bit non-nightly. I'll have it throw some more meaningful message for that. This also means that at a certain point in time, this construct will "just work" on stable, which means there'll be less incentive to change everything to |
It won't, I added this compile error:
|
If you ack this one, let me squash it before you merge :-) |
Actually, I cannot seem to find any documentation beyond this thread on this, are you sure this exists? Doesn't seem to work here. According to the peeps on #rust on Mozilla's IRC, there's no such thing yet! So I'll revert that for now :-) |
FYI: I just found out that Probably needs a separate issue. :-) |
my bad! that codepath is only triggered during tests, which I assumed were running some of in nightly, but that was a bad assumption. I think I got the idea from that thread you linked, and just tried it and it didn't blow up until you found it just now because I wasn't properly exercising that codepath. |
perhaps something from this travis file can be used to get i686 building on travis? https://github.com/japaric/cross/blob/master/.travis.yml |
Right, I didn't check whether the thing I pushed actually worked on travis >.< Let me have a check :-) |
1652cd8
to
97bb1d5
Compare
Should I add a note to the README.md saying that 32 bit requires --features=nightly and a nightly compiler? :-) |
a8ea1c9
to
c8b246f
Compare
That would be wonderful! I'm really excited to have support for these architectures now :) |
Heh, you got yourself a race condition in the Travis build of the README change. Lol. |
@rubdos a gift from the test gods! These failpoint property tests reveal a steady stream of error handling inconsistencies, it's great, but also feels like an endless stream of bugs sometimes, and can be a bit time consuming to fix. I believe they are relatively low priority compared to a couple other issues right now, so it might be a couple weeks before this is green for very long test runs, but most of the time it passes. I'll rerun the test and merge your changes, and cut a new release with them :) |
@rubdos the latest versions of pagecache and sled have these changes in! thanks again for your good work on this :) |
Hooray! Thanks for the feedback! I am looking forward to the next patch! :D |
Discussion points:
nightly
feature good in this case? Should I give it a better name?pagecache::Lsn
is now of typei64
when thenightly
feature is enabled.Let me know if you want me to change stuff! :-)
Issue #145 for reference.