Skip to content

Prebuilt gdext binaries for godot are missing and wasm32/linux32 bit ones fail #1356

@Ughuuu

Description

@Ughuuu

When building for regular targets for godot-4-5, there are no prebuilt binaries for web and other common targets. Also, when using GODOT4_BIN, linux32 and web (wasm32) builds fail (at least for my use case it seems). I'm getting the following error when doing so:

error[E0080]: attempt to compute `16_usize - 24_usize`, which would overflow
 --> /home/runner/work/godot-rapier-physics/godot-rapier-physics/target/i686-unknown-linux-gnu/release/build/godot-ffi-b20c06a89280b89c/out/gdextension_interface.rs:3:4336
  |
3 | ...lign_t"] [:: std :: mem :: size_of :: < max_align_t > () - 24usize] ; ["Alignment of max_align_t"] [:: std :: mem :: align_of :: < max...
  |              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ evaluation of `gen::gdextension_interface::_` failed here

For now, I disabled linux32 and wasm32 builds. Repo I use for builds (I commented out the wasm32 and linux32 bit) is here: https://github.com/appsinacup/godot-rapier-physics

Metadata

Metadata

Assignees

No one assigned

    Labels

    c: toolingCI, automation, toolsfeatureAdds functionality to the library

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions