Skip to content

Commit f38fad6

Browse files
committed
remove .vscode settings
Signed-off-by: Simon Davies <[email protected]>
1 parent 558915f commit f38fad6

File tree

6 files changed

+11
-78
lines changed

6 files changed

+11
-78
lines changed

.devcontainer/devcontainer.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,12 @@
2727
"ms-vscode.cmake-tools",
2828
"rust-lang.rust-analyzer",
2929
"vadimcn.vscode-lldb"
30-
]
30+
],
31+
"settings": {
32+
"rust-analyzer.rustfmt.extraArgs": [
33+
"+nightly" // required for rustfmt.toml which uses nightly features
34+
]
35+
}
3136
}
3237
}
3338
}

.gitignore

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -448,10 +448,6 @@ $RECYCLE.BIN/
448448
## Visual Studio Code
449449
##
450450
.vscode/*
451-
!.vscode/settings.json
452-
!.vscode/tasks.json
453-
!.vscode/launch.json
454-
!.vscode/extensions.json
455451

456452
/downloads
457453

.vscode/launch.json

Lines changed: 0 additions & 50 deletions
This file was deleted.

.vscode/settings.json

Lines changed: 0 additions & 23 deletions
This file was deleted.

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224,6 +224,10 @@ If you get the error `Error: NoHypervisorFound` and KVM or mshv is set up then t
224224

225225
For more details on how to verify that KVM is correctly installed and permissions are correct, follow the guide [here](https://help.ubuntu.com/community/KVM/Installation).
226226

227+
### Rust Analyzer
228+
229+
If you are using the [Rust Analyzer](https://rust-analyzer.github.io/manual.html) then you may need to set the configuration option `rust-analyzer.rustfmt.extraArgs` to `["+nightly"]` to ensure that formatting works correctly as this project has a [`rustfmt.toml`](./rustfmt.toml) file that uses nightly features.
230+
227231
### Or you can use a codespace
228232

229233
[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/hyperlight-dev/hyperlight)

src/hyperlight_host/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ tracing-opentelemetry = "0.27.0"
9494
opentelemetry = "0.26.0"
9595
opentelemetry-otlp = { version = "0.26.0", features = ["default"] }
9696
opentelemetry_sdk = { version = "0.26.0", features = ["rt-tokio"] }
97+
opentelemetry-semantic-conventions = "0.26.0"
9798
tokio = { version = "1.34.0", features = ["full"] }
9899
criterion = "0.5.1"
99100
tracing-chrome = "0.7.2"

0 commit comments

Comments
 (0)