Skip to content

Conversation

@AffectedArc07
Copy link
Member

@AffectedArc07 AffectedArc07 commented Mar 5, 2025

Currently get this error when building with the byond-515-1621 feature.

error[E0599]: no method named `ByondValue_SetStrId` found for reference `&'static ByondApi` in the current scope
   --> C:\Users\AffectedArc07\.cargo\git\checkouts\byondapi-rs-6b86a2b778efd08c\8d16ff9\crates\byondapi-rs\src\value\functions.rs:121:26
    |
121 |         unsafe { byond().ByondValue_SetStrId(&mut self.0, strid) }
    |                          ^^^^^^^^^^^^^^^^^^^
    |
help: there is a method `ByondValue_SetStr` with a similar name
    |
121 |         unsafe { byond().ByondValue_SetStr(&mut self.0, strid) }
    |                          ~~~~~~~~~~~~~~~~~

error[E0599]: no method named `ByondValue_DecTempRef` found for reference `&'static ByondApi` in the current scope
   --> C:\Users\AffectedArc07\.cargo\git\checkouts\byondapi-rs-6b86a2b778efd08c\8d16ff9\crates\byondapi-rs\src\value\functions.rs:253:26
    |
253 |         unsafe { byond().ByondValue_DecTempRef(&self.0) }
    |                          ^^^^^^^^^^^^^^^^^^^^^
    |
help: there is a method `ByondValue_DecRef` with a similar name
    |
253 |         unsafe { byond().ByondValue_DecRef(&self.0) }
    |                          ~~~~~~~~~~~~~~~~~

For more information about this error, try `rustc --explain E0599`.
error: could not compile `byondapi` (lib) due to 2 previous errors
warning: build failed, waiting for other jobs to finish...

Let me know what other stuff I need to bump please, first PR here


Also I made CI test compile both builds

@jupyterkat jupyterkat merged commit ada55cf into spacestation13:main Mar 6, 2025
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants