Skip to content

Commit

Permalink
Update CI to work again
Browse files Browse the repository at this point in the history
  • Loading branch information
Bromeon committed Apr 1, 2024
1 parent 7e55836 commit a4319cc
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/external-config/public-docs-token.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
MTFBQUZNN0NBMHVoSTJTeUk2OEptdl9Ea1pzdTlEbWZtUHRTdldzVnJDT0dibnA2Z2FZNk9OaHoxeEdObnpMMGx6UTVVRTJNM0Ezdjk3RXJjTAo=
MTFBQUZNN0NBMGZzSGFaOVJFSmRtdV9IYnJXVEFZVEoxNDJ3N3VPTG1UY3UyTnlQM1h2RXNoMjZTMmNtdEhLa2hOQlFOVllWTVlhSTE1bk1JUwo=
1 change: 1 addition & 0 deletions bindings-generator/src/methods.rs
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,7 @@ pub fn generate_method_table(api: &Api, class: &GodotClass) -> TokenStream {
#(#impl_methods),*
};

#[allow(static_mut_refs)]
&mut TABLE
}

Expand Down
2 changes: 1 addition & 1 deletion gdnative-core/src/core_types/geom/rect2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ impl Rect2 {

/// Error indicating that an `i64` cannot be converted to a [`Margin`].
#[derive(Debug)]
pub struct MarginError(i64);
pub struct MarginError(pub i64);

/// Provides compatibility with Godot's [`Margin` enum][margin] through the [`TryFrom`] trait.
///
Expand Down
1 change: 1 addition & 0 deletions gdnative-core/src/private.rs
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,7 @@ macro_rules! make_method_table {
$($methods: std::ptr::null_mut(),)*
};

#[allow(static_mut_refs)]
&mut TABLE
}

Expand Down

0 comments on commit a4319cc

Please sign in to comment.