char-slop/vscode-hubris

git clone https://git.t4t.associates/char-slop/vscode-hubris

Charlotte Sominitial commitf4210c2

main
251 B9 linesraw
1#!/usr/bin/env sh
2set -eu
3
4cd "$HUBRIS_WORKSPACE_ROOT"
5if [ "${1-}" = "--version" ]; then
6  exec rustup run "$(rustup show active-toolchain | cut -d ' ' -f 1)" rust-analyzer --version
7fi
8
9exec cargo xtask rust-analyzer "$(cat "$HUBRIS_CONTEXT_FILE")"