Skip to content

split platform definitions out of mk/platform.mk #18192

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 28, 2014

Conversation

codyps
Copy link
Contributor

@codyps codyps commented Oct 20, 2014

The goal here is to make it easier to add new platform definitions,
especially when the additions are programmatic (ie: in build scripts).

@rust-highfive
Copy link
Contributor

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @brson (or someone else) soon.

The goal here is to make it easier to add new platform definitions,
especially when the additions are programmatic (ie: in build scripts).
@codyps
Copy link
Contributor Author

codyps commented Oct 26, 2014

Added the ${CFG_SRC_DIR} which was missing on the include line.

bors added a commit that referenced this pull request Oct 28, 2014
The goal here is to make it easier to add new platform definitions,
especially when the additions are programmatic (ie: in build scripts).
@bors bors closed this Oct 28, 2014
@bors bors merged commit f3fd79d into rust-lang:master Oct 28, 2014
lnicola pushed a commit to lnicola/rust that referenced this pull request Oct 8, 2024
…eykril

Include buildfiles in VFS

We subscribe to `textDocument/didSave` for `filesToWatch`, but the VFS doesn't contain those files. Before rust-lang/rust-analyzer#18105, this would bring down the server. Now, it's only a benign error logged:
```
ERROR notification handler failed handler=textDocument/didSave error=file not found: /foo/bar/TARGETS
```
It's benign, because we will also receive a `workspace/didChangeWatchedFiles` for the file which will invalidate and load it.

Explicitly include the buildfiles in the VFS to prevent the handler from erroring.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants