I try to mannualy allow my antivirus to do it and it work, does that mean i have to shutdown my antivirus every time i need to do something with cargo? it do not sound likle a good idea
delete the target folder, or start a new project, to repeat the test from the beginning
run your cargo command to verify it fails the same as before
OPTION 1: in windows File Explorer, in the folder C:\Users\Thomas\Documents\Projet\livre_rust\hello_cargo try to make a new folder named target.
if file explorer prompts for admin access, this is a problem
OPTION 2: in command prompt, try to make the folder md C:\Users\Thomas\Documents\Projet\livre_rust\hello_cargo\target
You can repeat these steps with antivirus on or off, to understand when the access is denied for which methods (via cargo, via file explorer, via command prompt user command)
I tried the first option and windows ask for admin right, then I add all the bin file with everything rustup installed, as exeption in my antivirus and it look like it works fine.
I'll see if i still have an issue with my antivirus later