Comments (8)
You should be able to simply run cargo build
to build the binary, or cargo build --release
if you want an optimized binary. The build-release
script is just what I use to build release binaries locally, it depends on some quirky things.
Once I get a few more things together I'd like to publish prebuilt binaries via GitHub releases, which should make things simpler for people.
from sccache.
thanks @luser
didn't realise that was the standard build command for rust. thanks.
i face a different problem now.
'''
andrep@bardtw2827 ~/dev/sccache (master) $ cargo -V
cargo 0.8.0 (built 2016-03-22)
andrep@bardtw2827 ~/dev/sccache (master) $ cargo build
failed to parse manifest at /home/andrep/dev/sccache/Cargo.toml
Caused by:
could not parse input as TOML
Cargo.toml:34:9 expected a key but found an empty string
Cargo.toml:34:9-34:10 expected .
, but found '
'''
seems think the cfg(unix) might be causing the problem.
from sccache.
I don't know specifically what version of Rust+cargo the project requires, but I've been building it locally with Rust 1.12, which ships with cargo 0.13. The build automation I set up with Travis only tests against the latest stable Rust release and nothing older, so it's entirely likely that it requires Rust 1.12 (and its matching cargo).
I'd recommend installing Rust via rustup, which makes it easy to keep your Rust toolchain up-to-date.
from sccache.
It looks like support for [target.'cfg(...)'.dependencies]
first shipped in cargo 0.9, so we definitely require at least that version:
rust-lang/cargo@4739ba1
from sccache.
Since my change to use lru-cache
we'll require Rust 1.9.0. I'll document this and add building against that version to the CI.
from sccache.
Apparently futures
requires Rust 1.10:
rust-lang/rust#31767
from sccache.
Apparently building only requires Rust 1.10, but building tests requires Rust 1.12, because I'm using the From<T>
impl for Option<T>
.
from sccache.
I noted that the minimum required Rust version is 1.12 in the README:
982ff32
I added builds against Rust 1.12 to the Travis CI, so we should be able to guarantee that we don't unintentionally break that.
from sccache.
Related Issues (20)
- sccache - cmake and ninja issues HOT 1
- Server won't start due to cache check not honoring SCCACHE_S3_KEY_PREFIX
- sccahe in gitlab ci - only cache misses
- Server sent UnsupportedCompiler: "Failed to detect showIncludes prefix"
- Cache write error are not counted properly HOT 1
- s3 store should exposes url style HOT 1
- Distributed Rust compile fails when derive macros are used.
- Redis no longer support TLS HOT 2
- C++ ClangCL on Windows - `/wd4668` flag results in error HOT 9
- MSVC /Fo parameter not handled correctly HOT 3
- Enable server side encryption with s3
- c++ projects compile without caching
- OAuth to keycloak failing HOT 2
- Sccache can not connect to redis server ip client / server are ipv6 only HOT 2
- sccache fails to compile Qt: hash collision between precompiled headers and object files HOT 4
- Allow local cache to be made read-only
- Cache check result doesn't influence mode of operation
- Server is non responsive during GCS token initialization
- sccache keeps lock on .vcpkg-root HOT 2
- 0.5.4 crate doesn't build on stable HOT 2
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 sccache.