Skip to content
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

Runnable env per platform #15308

Merged
merged 3 commits into from Jul 28, 2023
Merged

Conversation

vsrs
Copy link
Contributor

@vsrs vsrs commented Jul 18, 2023

This PR adds an option to specify runnables env per platform (win32, linux, etc.):

{
    "rust-analyzer.runnables.extraEnv": [
            {
                "platform": "win32",
                "env": {
                    "SCITER_BIN_FOLDER": "C:\\Projects\\3rd\\sciter-js-sdk\\bin\\windows\\x64",
                }
            },
            {
                "platform":["linux","darwin"],
                "env": {
                    "SCITER_BIN_FOLDER": "/home/vit/Projects/sciter/sciter-js-sdk/bin/linux/x64",
                }
            }
        ]
}

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jul 18, 2023
@HKalbasi
Copy link
Member

@bors r+

@bors
Copy link
Collaborator

bors commented Jul 28, 2023

📌 Commit 08b3b2a has been approved by HKalbasi

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Jul 28, 2023

⌛ Testing commit 08b3b2a with merge bc1b0bf...

@bors
Copy link
Collaborator

bors commented Jul 28, 2023

☀️ Test successful - checks-actions
Approved by: HKalbasi
Pushing bc1b0bf to master...

@bors bors merged commit bc1b0bf into rust-lang:master Jul 28, 2023
10 checks passed
@vsrs vsrs deleted the runnable_env_per_platform branch July 28, 2023 07:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants