Closed B3ni15 closed 5 months ago
You have a file called tempCodeRunnerFile.rs
somewhere in your src folder that only contains DiscordIpc
which itself is not valid rust code.
What did you change between thoses two terminal screens ?
What did you change between thoses two terminal screens ?
Nothing. I just ran it differently.
You have a file called
tempCodeRunnerFile.rs
somewhere in your src folder that only containsDiscordIpc
which itself is not valid rust code.
How can I fix it?
Nothing
Oh im a dumbass i diddn't saw that, well, cargo uses the src/main.rs as entry point.
Im guessing that you diddn't linked your 2nd file in your main using something like mod myfile
? That file just got ignored.
Put your code in your src/main.rs
and use cargo if you have dependencies.
To set the project's name, use the cargo.toml's name parameter
has this issue been resolved? if so i'll close it. thanks @Bowarc for helping :)
Someone can help me with that?
The code: