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

Build script creates src files with errors #9

Open
anderson-international opened this issue Apr 25, 2022 · 0 comments
Open

Build script creates src files with errors #9

anderson-international opened this issue Apr 25, 2022 · 0 comments

Comments

@anderson-international
Copy link

When the build script runs it generates a series files prefixed with basic_ and tweak_ as well as writing associated tests into the lib.rs file.

All the generated files contain just the following code and nothing else:

use plotters::prelude::*;
pub fn entry_point() { main(); } 

And this code fails to build with the following error:

cannot find function `main` in this scope

The result is the following outuput from the cargo build and cargo test commands:

error: could not compile `guide` due to 27 previous errors; 27 warnings emitted

I am running this in VSCode on windows. I have tried running VSCode as an administrator in case it had something to do with file writing privileges but no joy.

Thanks

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

1 participant