Comments (5)
@matthiaskrgr Thanks for the report! Can you share the full command line you used, and which revision of treereduce you're using?
from treereduce.
oh, sorry 😓
So the command I used was treereduce-rust --passes 10 --min-reduction 10 --interesting-stderr="panic" unred.rs -- ~/.rustup/toolchains/local-debug-assertions/bin/rustc --crate-type lib @@.rs
(the ice requires debug assertions) but a vanilla nightly rustc also hangs.
treereduce 0.2.2
from treereduce.
OOOH I think I just forgot to put --source before $file.rs? :(
from treereduce.
OOOH I think I just forgot to put --source before $file.rs? :(
Yeah, that sounds correct. treereduce
is set up to take input on stdin as well, so it's likely just waiting to read. You can see similar behaviors in other programs such as cat
or jq
.
from treereduce.
Closing for now, as this is expected behavior.
from treereduce.
Related Issues (20)
- hangs in v0.3.0 HOT 1
- rust: fails to reduce away items completely HOT 1
- Question: Custom strategies with ast-grep? HOT 1
- Confusing behavior between interesting exit code and interesting regexp, at least with treereduce-rust HOT 2
- A way to interrupt current process and save the best current reduction to a file
- No reduction when interestingness test always succeeds
- Better error message when test is not interesting
- Save test cases that cause segfaults
- Import Perses benchmarks
- rust: Replace types with `()`
- Benchmark against DustMite
- Move multi-pass reduction into the library
- Caching
- `--slow` should attempt to delete non-optional AST nodes
- Kill subprocesses that have timed out
- Compare to cvise
- v0.2.2
- doc: Switch to mdBook
- ci: Deny `clippy::cargo`
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 treereduce.