Skip to content

Convert most of rust_run_program.cpp to rust (issue #2674). - #6140

Merged
bors merged 3 commits into
rust-lang:incomingfrom
Dretch:run-with-rust
May 3, 2013
Merged

Convert most of rust_run_program.cpp to rust (issue #2674).#6140
bors merged 3 commits into
rust-lang:incomingfrom
Dretch:run-with-rust

Conversation

@Dretch

Copy link
Copy Markdown
Contributor

Even more of core::run could be rust-ified -- I believe that access to the C extern environ can be done with rust now. I did not do this because some special casing is needed for OSX and I don't have a mac I can test with.

I think this will also fix#6096.

@pcwalton

Copy link
Copy Markdown
Contributor

I'm very happy to see this work done, kudos. There's no reason running programs should require the runtime :)

@brson

brson commented May 1, 2013

Copy link
Copy Markdown
Contributor

👍

gareth added 3 commits May 2, 2013 19:26
- it is now cross platform, instead of just unix
- it now avoids sleeping (fixing issue #6156)
- it now calls force_destroy() when force = true (was a bug)
bors added a commit that referenced this pull request May 3, 2013
Even more of `core::run` could be rust-ified -- I believe that access to the C extern environ can be done with rust now. I did not do this because some special casing is needed for OSX and I don't have a mac I can test with.
I think this will also fix#6096.
@borsbors closed this May 3, 2013
@bors
bors merged commit bd979c1 into rust-lang:incomingMay 3, 2013
@Dretch
Dretch deleted the run-with-rust branch May 3, 2013 16:49
@Dretch
Dretch restored the run-with-rust branch May 3, 2013 16:49
@Dretch
Dretch deleted the run-with-rust branch May 3, 2013 16:49
U007D pushed a commit to U007D/rust-mos that referenced this pull request Aug 21, 2026
6140: honour hover.content_format client capability r=lnicola a=robinvd
This removes all markdown when the client does not support the markdown MarkupKind.
Otherwise the output on the editor will have some markdown boilerplate, making it less readable.
For example kak_lsp does not currently support markdown.
![image](https://user-images.githubusercontent.com/22073483/95112949-ef0ff080-0741-11eb-82a7-0594fa2cd736.png)
after:
![image](https://user-images.githubusercontent.com/22073483/95113089-2bdbe780-0742-11eb-94fa-bcfec6d7347a.png)
Co-authored-by: Robin van Dijk <robin@robinjint.nl>
Sign up for freeto 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.

4 participants

@Dretch@pcwalton@brson@bors