cargo-watch | Watches over your Cargo project 's source | DevOps library
kandi X-RAY | cargo-watch Summary
kandi X-RAY | cargo-watch Summary
Created by Félix Saparelli and awesome contributors.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of cargo-watch
cargo-watch Key Features
cargo-watch Examples and Code Snippets
Community Discussions
Trending Discussions on cargo-watch
QUESTION
I'm on macOS 10.13.5, learning to program Rust, and I use Nix to control my development environment.
Some actions, such as including the jsonwebtoken
library or installing the cargo-watch
module, cause a build that requires a macOS framework that appears to not be installed. I get this error message:
ANSWER
Answered 2018-Jul-03 at 19:47Apparently Nix both provides packages for standard Apple frameworks and sandboxes the environment enough that standard frameworks are unavailable.
Most of what I discovered for this solution came from Use proper SDK and command-line tools on OS X 10.11 and then from examining vim-plugins nix derivation.
First step is to actually install the frameworks that my project needs. They all live in nixpkgs.darwin.apple_sdk.frameworks
.
Doing that gets most of the link working, but then _CFURLResourceIsReachable
is an undefined symbol on my platform. I solve that with an updated NIX_LDFLAGS
variable (as suggested in the vim-plugins nix derivation). The end result for my project is this shell.nix
file:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install cargo-watch
Builds since 7.8.0 are signed with minisig: see Signing for details.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page