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

Allow specifying c3c arguments to allow for --trust=full #69

Closed
Dodzey opened this issue Sep 10, 2024 · 2 comments
Closed

Allow specifying c3c arguments to allow for --trust=full #69

Dodzey opened this issue Sep 10, 2024 · 2 comments

Comments

@Dodzey
Copy link

Dodzey commented Sep 10, 2024

Getting errors on the log related to --trust=full as my project uses $exec etc and requires that option to be specified

2024/09/10 20:08:06 output: This target has 'exec' directives, to run it trust level must be set to '--trust=full'.

2024/09/10 20:08:06 An error: exit status 1

Would it be possible to add a setting to be able to specify extra command line arguments?

@pherrymason
Copy link
Owner

Added in #d163069

@pherrymason
Copy link
Owner

New option is added in C3.compile-args

{
    "send-crash-reports": true,
    "log-path": "./c3-lsp.log",
    "C3": {
        "version": "0.6.1",
        "compile-args": ["--trust=full"], // <-----------
        "stdlib-path": "/xxxx/c3c/lib/std"
    },
    "Diagnostics": {
        "enabled": true,
        "delay": 2000
    }
}

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

No branches or pull requests

2 participants