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
Fails to build on 32-bit architecture #474
Comments
Thanks for adding the wezterm port! re: 32-bit: supporting it hasn't been an active goal thus far, but I don't believe that there have been any deliberate choices that prevent it from working (except perhaps on Windows where the PTY stuff requires additional binaries to work). what's curious is that the line in that error message is in the target_pointer_width=64 case of some code that should in theory be doing the right thing for 32-bit systems: if cfg!(target_pointer_width = "64") {
0x7f000000_00000000
} else if cfg!(target_pointer_width = "32") {
0x7f000000
} else if cfg!(target_pointer_width = "16") {
0x7f00
} else {
panic!("unsupported target");
} https://github.com/wez/wezterm/blob/main/termwiz/src/cell.rs#L370-L378 I won't have time to investigate this further for a few days. |
Oh.. well that's not correct!
Use the cfg_if macro. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
Build Environment
Dependencies
I've used downstream package which builds fine at least on amd64.
The build output
From error log:
The text was updated successfully, but these errors were encountered: