Skip to content
This repository was archived by the owner on Nov 30, 2023. It is now read-only.

Commit a0a2b80

Browse files
committed
Moved Cargo.toml to root, updated npmignores
1 parent d6f0910 commit a0a2b80

File tree

5 files changed

+8
-5
lines changed

5 files changed

+8
-5
lines changed

containers/rust/.npmignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
README.md
22
.vscode
3-
src
3+
test-project
44
Cargo.lock
55
Cargo.toml

containers/rust/.vscode/launch.json

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,13 @@
1313
"build",
1414
"--bin=hello_remote_world",
1515
"--package=hello_remote_world",
16-
"--manifest-path=test-project/Cargo.toml"
16+
"--manifest-path=Cargo.toml"
1717
],
1818
"filter": {
1919
"kind": "bin"
2020
}
2121
},
22-
"args": [],
23-
"cwd": "${workspaceFolder}/test-project"
22+
"args": []
2423
}
2524
]
2625
}
File renamed without changes.

containers/rust/test-project/Cargo.toml renamed to containers/rust/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,7 @@
22
name = "hello_remote_world"
33
version = "0.1.0"
44
authors = ["VS Code <[email protected]>"]
5+
6+
[[bin]]
7+
name = "hello_remote_world"
8+
path = "test-project/src/main.rs"

containers/rust/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212

1313
## Using this definition with an existing folder
1414

15-
This definition does require any special steps to use. Just follow these steps:
15+
This definition does require any special steps to use. The `Cargo.toml` file in the root of this folder is for the test project and is not included in the dev container definition. Just follow these steps to use the definition:
1616

1717
1. If this is your first time using a development container, please follow the [getting started steps](https://aka.ms/vscode-remote/containers/getting-started) to set up your machine.
1818

0 commit comments

Comments
 (0)