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)
- How to find a specific folder by name with something similar to `find -prune`? HOT 2
- Chained usage `fd ... -X fd ... [-X]` -- examples welcome in README? deeper support for chaining? HOT 4
- [BUG] Colorized output in `-l` despite `NO_COLOR=1` and `LS_COLORS=` HOT 1
- New .git Handling has no opt out HOT 14
- build error HOT 3
- Allow `--type dir` as an alias to `directory` due to how common it is
- [BUG] Including hidden files also includes (git)ignored files if the .gitignore is in the parent directory HOT 4
- [BUG] command execution (--exec) not working as expected HOT 3
- Visualize ignore rules in terminal UI with tree structure HOT 4
- [BUG] White-space in folder names causes command to fail HOT 2
- bug(windows): native command execution syntax doesnโt work for npm/npx package HOT 2
- [BUG] `-e` overrides `--no-follow` behavior and includes symlinks into results HOT 1
- More ways to anchor patterns HOT 5
- Please provide a statically linked aarch64 version HOT 5
- [BUG] Full-path search and globbing leads to `fd` not exit on pipeline closing HOT 5
- [BUG] Installation failed on macOs HOT 3
- [BUG] --list-details fail on windows ( missing ls error ) while using nushell that has ls exposed
- [BUG] `--full-path` doesn't interpret with regexp `^` pattern HOT 2
- Shouldn't fd support using ~ as a subtitute for the home directory when writing paths? HOT 1
- List all directories in cwd, including '.' and '..' 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 fd.