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

Getting E0412 (cannot find function in scope) while trying to do cargo build. #19

Open
Serpent03 opened this issue Jun 6, 2024 · 4 comments

Comments

@Serpent03
Copy link

Error log:

image

My cargo.toml:

image

@Serpent03
Copy link
Author

Am I missing something obvious here?

@BitsAndDroids
Copy link
Contributor

I started encountering something similar out of nowhere last week on Github Actions (not locally). If I find the solution I'll post an update here.

@BitsAndDroids
Copy link
Contributor

BitsAndDroids commented Jun 22, 2024

@Serpent03 issued a pr #20. I'm not 100% sure @Sequal32 is still active. If he isn't, you can import my fork in your project. Would love to hear if it fixes the problem for you as well.

My fork can be imported by importing the crate like this:

simconnect = { git = "https://github.com/BitsAndDroids/simconnect-rust.git", branch = "master" }

@Serpent03
Copy link
Author

@Serpent03 issued a pr #20. I'm not 100% sure @Sequal32 is still active. If he isn't, you can import my fork in your project. Would love to hear if it fixes the problem for you as well.

My fork can be imported by importing the crate like this:

simconnect = { git = "https://github.com/BitsAndDroids/simconnect-rust.git", branch = "master" }

Thanks a lot! New to Rust, so wasn't sure what was the cause of the error at all. Really appreciated.

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

No branches or pull requests

2 participants