Skip to content
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

Rewrite extensions in Rust #467

Merged
merged 20 commits into from
Apr 18, 2022
Merged

Rewrite extensions in Rust #467

merged 20 commits into from
Apr 18, 2022

Conversation

jonpas
Copy link
Member

@jonpas jonpas commented Nov 2, 2020

When merged this pull request will:

REST calls implemented, missing logging to file and interface with SQF
@jonpas jonpas added this to the Backlog milestone Nov 2, 2020
@jonpas jonpas self-assigned this Nov 2, 2020
@jonpas jonpas marked this pull request as draft November 2, 2020 18:06
@JoramD0
Copy link
Member

JoramD0 commented Jul 22, 2021

Reminder for myself: Change uses of getPlayerInfo to use "new" types

@jonpas
Copy link
Member Author

jonpas commented Feb 11, 2022

Cross-compile on Linux for Windows works nicely.

x64:

rustup target add x86_64-pc-windows-gnu
cargo build --target x86_64-pc-windows-gnu

x86:

rustup target add i686-pc-windows-gnu
cargo build --target i686-pc-windows-gnu

@jonpas
Copy link
Member Author

jonpas commented Feb 11, 2022

Rust statically links, so resulting binaries are big, they should be striped.

@jonpas jonpas mentioned this pull request Feb 17, 2022
19 tasks
@jonpas
Copy link
Member Author

jonpas commented Apr 5, 2022

Cross-compile on Linux for Windows works nicely.

jni-rs has shown natively building on Windows produces much smaller binaries. Can do that with CI for ease.

EDIT: But here, cross-compilation is smaller!

@jonpas jonpas marked this pull request as ready for review April 18, 2022 17:09
@jonpas jonpas removed the WIP label Apr 18, 2022
@jonpas jonpas modified the milestones: Backlog, 1.32.0 Apr 18, 2022
@jonpas jonpas force-pushed the ext-rust branch 2 times, most recently from d21defb to db10511 Compare April 18, 2022 20:01
@jonpas jonpas merged commit 00d4f40 into master Apr 18, 2022
@jonpas jonpas deleted the ext-rust branch April 18, 2022 20:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rewrite extensions in Rust
2 participants