Skip to content

Latest commit

 

History

History
28 lines (19 loc) · 1003 Bytes

File metadata and controls

28 lines (19 loc) · 1003 Bytes

Rust language server

This folder contains the deployment files for the Rust language server.

🚨 Warning: This language server is experimental. Please read about the caveats before enabling it. 🚨

You can enable it by:

  1. Append the kubectl apply command for the Rust language server deployment to kubectl-apply-all.sh.

    echo kubectl apply --prune -l deploy=xlang-rust -f configure/experimental/rust --recursive >> kubectl-apply-all.sh
  2. Adding the following environment variables to the lsp-proxy deployment to make it aware of the Rust language server's existence.

    # base/lsp-proxy/lsp-proxy.Deployment.yaml
    env:
      - name: LANGSERVER_RUST
        value: tcp://xlang-rust:8080
  3. Apply your changes to lsp-proxy and the Rust language server to the cluster.

    ./kubectl-apply-all.sh