Skip to content

Introduce a generic rust async runtime integration #1228

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

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ function run() {
# exit status if not found.
function findGodot() {
# $godotBin previously detected.
if [[ -v godotBin ]]; then
if [[ -n "${godotBin+x}" ]]; then
return
fi

Expand Down Expand Up @@ -297,13 +297,13 @@ log

function compute_elapsed() {
local total=$SECONDS
local min=$(("$total" / 60))
local min=$((total / 60))
if [[ "$min" -gt 0 ]]; then
min="${min}min "
else
min=""
fi
local sec=$(("$total" % 60))
local sec=$((total % 60))

# Don't use echo and call it with $(compute_elapsed), it messes with stdout
elapsed="${min}${sec}s"
Expand Down
3 changes: 3 additions & 0 deletions godot-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ homepage = "https://godot-rust.github.io"
[features]
default = []
register-docs = []

codegen-rustfmt = ["godot-ffi/codegen-rustfmt", "godot-codegen/codegen-rustfmt"]
codegen-full = ["godot-codegen/codegen-full"]
codegen-lazy-fptrs = [
Expand Down Expand Up @@ -50,6 +51,8 @@ glam = { workspace = true }
serde = { workspace = true, optional = true }
godot-cell = { path = "../godot-cell", version = "=0.3.2" }

pin-project-lite = { workspace = true }

[build-dependencies]
godot-bindings = { path = "../godot-bindings", version = "=0.3.2" }
godot-codegen = { path = "../godot-codegen", version = "=0.3.2" }
Expand Down
Loading