Comments (7)
@sharkdp Nah I think 1.16 is fine. I'll probably bump ripgrep's minimum Rust version in the next release to something similar. I just like to make sure that the bump happens purposefully and with an appropriate version bump.
from fd.
Your rustc
is probably too old. What version are you using? The compile error you're getting indicates that it can't find the String::split_off
method, which was added in Rust 1.16.
@sharkdp One thing I typically do is put an explicit Rust version in my .travis.yml
so that I always know for sure what the minimum Rust version my tool compiles with.
from fd.
Awesome :) I'll see if I can compile after I update. Thanks for the pointers
from fd.
I currently see
rustc --version
rustc 1.14.0 (e8a012324 2016-12-16)
from fd.
Updating info: latest update on 2017-06-08, rust version 1.18.0 (03fc9d622 2017-06-06)
Yessir, updating past Rust 1.16 fixed my problem. Do you know of a better way to update rust than running the uninstall script and then the rustup.sh installer again?
I am amused that travis is still building with the minimum version pegged at 1.12
from fd.
@EricCrosson The link I gave was to my own separate project, not this one. :-) This one just tests on current stable/beta/nightly.
Do you know of a better way to update rust than running the uninstall script and then the rustup.sh installer again?
The preferred method of managing Rust installations for Rust programmers is rustup
. rustup
itself is a tool that will let you install multiple Rust installations and switch between them easily. (For instances, I have every Rust version from 1.0 on upwards installed locally.)
from fd.
@sharkdp One thing I typically do is put an explicit Rust version in my .travis.yml so that I always know for sure what the minimum Rust version my tool compiles with.
Thank you very much for the suggestion! It's implemented now. Also, there was already a comment in the README
that refers to the rust 1.16 requirement.
Do you think it would be worth to backport to 1.12 (or similar)? My (unfounded) impression is, that most people use rustup
instead of old versions that come with some distribution package manager (?).
from fd.
Related Issues (20)
- List all directories in cwd, including '.' and '..' HOT 2
- Support timestamp in the format @%s (seconds since epoch) like GNU date HOT 1
- fdexclude/exclude configuration file, similar to fdignore/ignore configuration file HOT 2
- Adding an output mode with network-absolute paths HOT 2
- Filter files based on command output HOT 1
- [BUG] Incorrect application of `.gitignore` rules when using `fd` from a nested directory HOT 3
- [BUG] fd --glob seems wrong HOT 3
- Add clippy check to github actions CI HOT 2
- [BUG] Wrong result when --full-path and .. HOT 3
- `--all` argument HOT 2
- Ignore top level .gitignore HOT 3
- Chinese version of fd project HOT 2
- The file name containing "-- " could not be found HOT 3
- fd? fdfind? fdclone? HOT 1
- Ignore cache directories by default HOT 2
- [BUG] Redirected stdout (pipe or file) on windows has wrong encoding HOT 2
- [BUG] fd -e o not works. HOT 2
- [BUG] search strings containing umlaut fails to find any results HOT 11
- find a file upwards HOT 2
- conda-forge package HOT 6
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 fd.