import { window } from 'vscode' ; export function startSpinner ( message ) { window . setStatusBarMessage ( `Rust: $(settings-gear~spin) ${ message }` ) ; } export function stopSpinner ( message ? ) { window . setStatusBarMessage ( message ? `Rust: ${ message }` : 'Rust' ) ; }