diff --git a/.gitignore b/.gitignore index 79866888e..45ad705fb 100644 --- a/.gitignore +++ b/.gitignore @@ -16,6 +16,12 @@ rusty-tags.* .cproject .project +# Clangd creates this to cache its results +.cache/ + +# The code cache is a transient file. +compile_commands.json + # Compiled python modules. *.pyc diff --git a/Cargo.toml b/Cargo.toml index 185777f57..cb071db4d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,6 +2,7 @@ members = ["sim"] exclude = ["ptest"] resolver = "2" +default-members = ["sim"] # The simulator runs very slowly without optimization. A value of 1 # compiles in about half the time, but runs about 5-6 times slower. 2 diff --git a/docs/release-notes.d/vscode.md b/docs/release-notes.d/vscode.md new file mode 100644 index 000000000..df4fea82d --- /dev/null +++ b/docs/release-notes.d/vscode.md @@ -0,0 +1,2 @@ +- A few changes to make vscode nicer, including a default package to build at + the top level, and ignoring some of the cache files from vscode.