Comments (1)
This is the same as setting CARGO_TARGET_DIR
env var. cargo deb
should work with the env var.
However, I don't think this has any special relationship with cargo clean
. If you call cargo clean
without setting the same target dir (whether via env var or the arg), you're just making it irrelevant and act on a directory that probably doesn't exist anyway.
OTOH if you set different target dirs for different builds, then there's no reuse. If you set the same target dir for different targets, I'm not sure if there's any reuse happening either. It can't reuse any target-specific code of course. Maybe some host build dependencies that don't use build.rs
could be reused? (the build script can inspect the target and alter crate's behavior, so such crates aren't reusable across targets). But given that libc
has a build.rs
, there's very little that can be reused.
from cargo-deb.
Related Issues (20)
- Allow dpkg-shlibdeps flags or Debian rules file HOT 1
- `conf-files` generates a `conffiles` file with a trailing empty line HOT 1
- Test failures for manifest and control tests on Arch Linux HOT 8
- [Feature-Request] Advanced Usage, "append" option for assets HOT 3
- rodio HOT 1
- warning: Command dpkg-shlibdeps failed to launch (no auto deps for ...) HOT 1
- `License` is not set in the `control` file HOT 2
- unknown-field Vcs-Git Vcs-Browser HOT 2
- Files in /etc are overwritten HOT 6
- Option to generate separate -dbg package with debug symbols when --separate-debug-symbols is used HOT 1
- cargo-deb not packaging the binary
- asset paths don't work properly with "--profile" HOT 1
- file modes in top-level ar archive don't match dpkg HOT 1
- Switch Digest Signing over to sha256 from md5 HOT 2
- separate-debug-symbols option only honored on the CLI but not in Cargo.toml metadata.deb table HOT 1
- Avoid including copyright information HOT 2
- How to adjust the order of systemd units in generated maintainer script
- No dev documentation for this project HOT 1
- Allow a cargo sub sub command for --cargo-build (cargo auditable build) HOT 3
- Using cargo deb with --locked HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cargo-deb.