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

Could not find Month in os error. #72

Closed
jiaxiongjiao opened this issue Jan 17, 2023 · 2 comments
Closed

Could not find Month in os error. #72

jiaxiongjiao opened this issue Jan 17, 2023 · 2 comments
Labels
bug c: engine Godot classes (nodes, resources, ...)

Comments

@jiaxiongjiao
Copy link

I pull this repository (version: edf2fe5) and ran cargo build on macOS.
The following errors appeared:

62 |     months.insert(os::Month::MONTH_AUGUST);                                                              [0/1850]
   |                       ^^^^^ could not find `Month` in `os`

error[E0433]: failed to resolve: could not find `Month` in `os`
  --> itest/rust/src/enum_test.rs:63:23
   |
63 |     months.insert(os::Month::MONTH_SEPTEMBER);
   |                       ^^^^^ could not find `Month` in `os`

error[E0433]: failed to resolve: could not find `Month` in `os`
  --> itest/rust/src/enum_test.rs:64:23
   |
64 |     months.insert(os::Month::MONTH_OCTOBER);
   |                       ^^^^^ could not find `Month` in `os`

error[E0433]: failed to resolve: could not find `Month` in `os`
  --> itest/rust/src/enum_test.rs:65:23
   |
65 |     months.insert(os::Month::MONTH_NOVEMBER);
   |                       ^^^^^ could not find `Month` in `os`

error[E0433]: failed to resolve: could not find `Month` in `os`
  --> itest/rust/src/enum_test.rs:66:23
   |
66 |     months.insert(os::Month::MONTH_DECEMBER);
   |                       ^^^^^ could not find `Month` in `os`
@Bromeon
Copy link
Member

Bromeon commented Jan 17, 2023

Current master is just not yet up-to-date with latest Godot.

You can use Beta 10 until this is addressed. I'll keep this issue open to track it.

@Bromeon
Copy link
Member

Bromeon commented Jan 22, 2023

Fixed in 67aacf8.

@Bromeon Bromeon closed this as completed Jan 22, 2023
@Bromeon Bromeon added bug c: engine Godot classes (nodes, resources, ...) labels Jan 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug c: engine Godot classes (nodes, resources, ...)
Projects
None yet
Development

No branches or pull requests

2 participants