Skip to content

Commit dcf5189

Browse files
committed
Updated changelog and readme.
1 parent c14436c commit dcf5189

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

CHANGELOG.md

+6
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11

2+
# v0.2.8
3+
4+
**Changed:**
5+
6+
* Implemented work-around for [issue 50](https://github.com/DanielKeep/cargo-script/issues/50). See the section in the `README` on known issues.
7+
28
# v0.2.7
39

410
**New:**

README.md

+10
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Table of contents:
2727
- [Stream Filters](#filters)
2828
- [Environment Variables](#env-vars)
2929
- [Templates](#templates)
30+
- [Known Issues](#issues)
3031
- [License](#license)
3132
- [Contribution](#contribution)
3233

@@ -265,6 +266,15 @@ $ cargo script -t grabbag -e "mem::size_of::<Box<Read>>()"
265266

266267
In addition, there are three built-in templates: `expr`, `loop`, and `loop-count`. These are used for the `--expr`, `--loop`, and `--loop --count` invocation forms. They can be overridden by placing templates with the same name in the template folder. If you have *not* overridden them, you can dump the contents of these built-in templates using the `templates dump` command noted above.
267268

269+
<a name="issues"></a>
270+
## Known Issues
271+
272+
### [Issue #50](https://github.com/DanielKeep/cargo-script/issues/50)
273+
274+
There is a problem on Windows where `cargo-script` can hang when asking Cargo for the path to a package's compiled executable. `cargo-script` currently works around this by using an older heuristic to guess this path on affected versions. This can, however, lead to `cargo-script` being unable to correctly locate a compiled executable.
275+
276+
If this is a problem, `cargo-script` can be instructed to use the accurate-but-buggy approach by setting the `CARGO_SCRIPT_IGNORE_ISSUE_50` environment variable to any non-empty string.
277+
268278
<a name="license"></a>
269279
## License
270280

0 commit comments

Comments
 (0)