Comments (5)
I don't believe path
is a known variable for build systems.
With any luck, the next dev build of ST3 will actually have code to pull in your shell environment on OS X, which should resolve this issue.
from rust-enhanced.
Thanks for the quick response @wbond !
So I'm assuming path will just be the user's system path when running build? (in the new fix, btw do you have a link for that?) which means we can get rid of the path field here?
from rust-enhanced.
@Jayflux see the env
key described here: http://docs.sublimetext.info/en/latest/reference/build_systems/exec.html. Basically,
{
...
"env": {
"path": "$path:~/.cargo/bin"
}
}
Disregard this, I got baited by @wbond. 😺
from rust-enhanced.
Apparently the path in the debug information is incorrect:
sublimehq/sublime_text#1039
from rust-enhanced.
Sorry, I was looking at the C++ part of the build system implementation… it does appear that through the kwargs in the exec
build system that path
should work. It does appear, however that it is not reflected in the build system output.
I'll try to get these edge cases cleaned up in one of the next builds.
from rust-enhanced.
Related Issues (20)
- Running check on `build.rs` outputs failure message.
- 'Accept replacement' doesn't work when "rust_region_style" set to "none" HOT 1
- build output with no colors
- Error are not highlighted in-code HOT 4
- Is there a way to style the type annotations?
- newlines in `impl` definition break syntax highlighting HOT 2
- Control codes displayed in the output
- Possible to use non-Rust syntax highlighter in a macro (like a nested syntax)?
- Rust enhanced freezes sublime text on save
- Enum variants with only a single uppercase letter and digits have "constant" scope applied
- Field attributes do not have any attribute-related scopes
- Path-qualified macros do not have any macro-related scopes
- "FileNotFoundError: [Errno 2] No such file or directory: 'cargo'" HOT 2
- [Feature request] Hide panel every after checks
- Syntax highlighting bug - inside attributes, using macros and then brackets in strings breaks the highlighting
- Broken Home/End behavior on Windows with Unix line endings
- Check on save is generating a debug directory instead of a release directory HOT 3
- Feature Request: Additional format specs
- Import suggestion breaks code with `#[cfg]` HOT 1
- Diagnostics incorrectly indicate a macro invocation when there's none
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 rust-enhanced.