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

Tools refactoring #238

Merged
merged 23 commits into from
Apr 1, 2024
Merged

Tools refactoring #238

merged 23 commits into from
Apr 1, 2024

Conversation

boozook
Copy link
Owner

@boozook boozook commented Apr 1, 2024

First part or The Refactoring.

Key fixes:

  • usb device discovery issues
  • windows support (now pdtool and cargo-playdate can be built on windows easier without pain)
  • cargo output format change (now supports all three formats)

Also various fixes and optimisations.

@github-actions github-actions bot added docs Improvements or additions to documentation bindgen About bindgen or playdate-bindgen cargo About cargo or cargo-playdate api About Playdate API, bindings and all over that. labels Apr 1, 2024
@boozook boozook linked an issue Apr 1, 2024 that may be closed by this pull request
@boozook
Copy link
Owner Author

boozook commented Apr 1, 2024

Crate playdate-device needs blocking all wait_for methods. Currently there is one async that uses Tokio runtime, so run on device will fail with there is no reactor running, must be called from the context of a Tokio 1.x runtime.

It because currently cargo-playdate uses only non-tokio async or just blocking methods.

boozook and others added 8 commits April 1, 2024 17:45
* main:
  update cargo lock
  CI: fix job deps and name
  Automated bump sys crate version
  Automated build pre-built bindings
  Automated build pre-built bindings

# Conflicts:
#	Cargo.lock
* $XDG_CONFIG_HOME/.Playdate/config, then .Playdate/config
* $XDG_DATA_HOME/playdate_sdk then .local/share/playdate-sdk
Use XDG paths to search for Playdate SDK on Unix
CI: tests on aarm64 everywhere
@boozook boozook linked an issue Apr 1, 2024 that may be closed by this pull request
@boozook boozook merged commit 242a336 into main Apr 1, 2024
21 checks passed
@boozook boozook deleted the dev/refactoring/tools branch April 1, 2024 20:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api About Playdate API, bindings and all over that. bindgen About bindgen or playdate-bindgen cargo About cargo or cargo-playdate docs Improvements or additions to documentation
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Support XDG location on Linux Error: No packages has been produced, nothing to run
2 participants