Ooof, this looks like a tough one.
I don't know if there is an easy or at least somewhat feasible option to help the compiler to build a 32bit binary from otherwise 64bit code? From a brief glance there are no values where we actually would need to have 64bit necessarily.
But manually keeping everything downwards-compatibly seems like a heavy burden.
the last error doesnt seems to match the others as a u32 were found but u 64 were expected...
src/display_servers/xlib_display_server/xwrap.rs:1496:31
|
1496 | self.grab_pointer(cursor);
Yes you are right. Is It possible, that this one is missing in the hastebin? I can't see it there..
oh, i see, its one of the build of leftwm-git, illupload its log later if im back at my workmachine.
As all of these are interactions with xlib, I think we might be able to replace them with c_ulong/c_long which will change depending on system. This should then remove all u64/i64's, fixing the problem, but I would have to check that when I'm not tired.
@Hero9909 I tried to get this working about 6 months ago and was never successful. I just tried again and this time no errors. I remember reading something about rust improving its compatibility with arm. I wonder if this has just been fixed somewhere deep in the compiler.
Would you mind running a rustup update and trying with the latest stable version of rust.
Please let me know success or failure, we don't get many people testing on arm :)
A couple notes:

@lex148 shure, ill check this out asap.
sadly, same error as before. ive tried a build directly from git with nightly and stable toolchain same errors as before. aswell ive tried install from cargo. what kind of setup do you have?
I have a vanilla install of Manjaro from here
Looking back add your build log, It looks more like a 32bit vs 64bit OS issue not Arm. Are you running a 32bit OS?
My guess is that you are running a 32bit OS on a 64bit arm CPU
Knowing your toolchain would be helpful. What do you see when you type?
rustup toolchain list
Most helpful comment
@Hero9909 I tried to get this working about 6 months ago and was never successful. I just tried again and this time no errors. I remember reading something about rust improving its compatibility with arm. I wonder if this has just been fixed somewhere deep in the compiler.
Would you mind running a
rustup updateand trying with the latest stable version of rust.Please let me know success or failure, we don't get many people testing on arm :)
A couple notes: