-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Constant-related build errors on 32-bit platforms #9
Comments
I think the default MAX_THREADS value is way too high on 32-bit platforms — it is currently half of the 64-bit MAX_THREADS. On 64-bit targets, MAX_THREADS is 4096 (12 bits), and on 32-bit, it's 2048 (11 bits). It should be half as many bits, not half as high a number Also both of those values should be one less, since 0 is a valid thread ID. |
@thombles I think the reason that this crate builds for you but Can I get you to do the following:
Thanks! I don't currently have a 32-bit toolchain installed, so I figured I'd ask you to check it out. |
Using the In terms of your specific instructions it's a bit more complicated.
It does fail, but not for the same reason - the
It doesn't help with the generator issue of course. But it has solved my actual problem! |
Currently tracing-subscriber doesn't compile on 32-bit platforms as discussed here: hawkw/sharded-slab#9 The underlying issue has been fixed by @hawkw. This pull simply updates the dependency inside this project. Thanks for your work on this!
tracing: 6d8b995c99f1d7b8758da687e5b7df25456f9559
This commit has
tracing-subscriber
depending onsharded-slab
0.0.6When building
tracing-subscriber
for a 32 bit target, e.g.cargo build --target i686-linux-android
, this results in build errors insharded-slab
code.The text was updated successfully, but these errors were encountered: