-
-
Notifications
You must be signed in to change notification settings - Fork 287
Add support for 32-bit #347
Copy link
Copy link
Closed
Labels
c: ffiLow-level components and interaction with GDExtension APILow-level components and interaction with GDExtension APIc: wasmWebAssembly export targetWebAssembly export targetfeatureAdds functionality to the libraryAdds functionality to the library
Description
Trying to do cargo build --target i686-pc-windows-msvc fails to build. It is possible to go in and get it to manually compile by editing godt-ffi/src/opaque.rs to have an align(4) instead of 8, and the OpaqueObject in godot-ffi/src/gen/central.rs from 8uszie to 4usize (you need to wait until after you see the fail build for that, because of codegen). Likely there are other things in that need to be updated as well, but at a minimum that will successfully cause it compile. I wasn't able to figure out where that codegen is actually happening. After editing those two things, the creeps example will start and run, but appears to crash on the anim_names.to_vec() in the rust/src/mob.rs
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
c: ffiLow-level components and interaction with GDExtension APILow-level components and interaction with GDExtension APIc: wasmWebAssembly export targetWebAssembly export targetfeatureAdds functionality to the libraryAdds functionality to the library