Skip to content

Conversation

mivort
Copy link
Contributor

@mivort mivort commented Sep 22, 2024

When custom-godot feature is used during build, the following warning gets produced:

warning: function `godot_version` is never used
   |
50 | fn godot_version() -> Option<semver::Version> {
   |    ^^^^^^^^^^^^^
   |

This PR adds #[allow(unused)] directive to suppress this warning, since it becomes unused when custom-godot feature is enabled.

When `custom-godot` feature is used during build, the following warning
gets produced:
```
warning: function `godot_version` is never used
   |
50 | fn godot_version() -> Option<semver::Version> {
   |    ^^^^^^^^^^^^^
   |
```

This PR adds `#[allow(unused)]` directive to suppress this warning,
since it becomes unused when `custom-godot` feature is enabled.
@GodotRust
Copy link

API docs are being generated and will be shortly available at: https://godot-rust.github.io/docs/gdnative/pr-1084

@Bromeon
Copy link
Member

Bromeon commented Sep 22, 2024

Thanks for the contribution!

Please note about this; CI would need some work before we can merge again.

@Bromeon Bromeon added the quality-of-life No new functionality, but improves ergonomics/internals label Sep 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
quality-of-life No new functionality, but improves ergonomics/internals
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants