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

Fix compilation error (cannot find value leader in this scope) #10

Merged
merged 1 commit into from
Jun 6, 2024

Conversation

arthurdandrea
Copy link
Contributor

Hi, updating watchexec I've got the following error, seemed easy so I'm sending the PR without a bug report.

error[E0425]: cannot find value `leader` in this scope
  --> $HOME/.cargo/registry/src/index.crates.io-6f17d22bba15001f/process-wrap-8.0.2/src/tokio/process_group.rs:99:26
   |
99 |                 setpgid(Pid::this(), leader)
   |                                      ^^^^^^
   |
help: you might have meant to use the available field
   |
99 |                 setpgid(Pid::this(), self.leader)
   |                                      +++++

PS: Thanks for the awesome libs.

@passcod passcod merged commit 04a41f3 into watchexec:main Jun 6, 2024
13 checks passed
@passcod
Copy link
Member

passcod commented Jun 6, 2024

i'm currently without a computer so i'll be a while before i can release, sorry

@arthurdandrea arthurdandrea deleted the fix-cfg-scope branch June 7, 2024 11:13
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

Successfully merging this pull request may close these issues.

2 participants