Просмотр исходного кода

Fixing target and adding debug to Rust gitignore (#3436)

The problem here was two fold:
1. the folder "/target/" would be top-level of the repo only, it should be "target/" to properly exclude target folders anywhere in the repo
2. the default Rust/Cargo folder when compiling code is "debug/", which gets used perhaps more often that "target/", added that
pull/3459/head
John Stilley 3 лет назад
Родитель
Сommit
620d4878a0
Аккаунт пользователя с таким Email не найден
1 измененных файлов: 2 добавлений и 1 удалений
  1. 2
    1
      Rust.gitignore

+ 2
- 1
Rust.gitignore Просмотреть файл

@@ -1,6 +1,7 @@
# Generated by Cargo
# will have compiled files and executables
/target/
debug/
target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html

Загрузка…
Отмена
Сохранить