diff options
| -rw-r--r-- | .devcontainer/devcontainer.json | 39 | ||||
| -rw-r--r-- | .vscode/c_cpp_properties.json | 16 | ||||
| -rw-r--r-- | .vscode/launch.json | 54 | ||||
| -rw-r--r-- | .vscode/settings.json | 23 | ||||
| -rw-r--r-- | .vscode/tasks.json | 42 |
5 files changed, 0 insertions, 174 deletions
diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json deleted file mode 100644 index ba8fa6d..0000000 --- a/.devcontainer/devcontainer.json +++ /dev/null @@ -1,39 +0,0 @@ -// For format details, see https://aka.ms/devcontainer.json. For config options, see the -// README at: https://github.com/devcontainers/templates/tree/main/src/rust -{ - "name": "stellar-rs", - // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile - // "image": "mcr.microsoft.com/devcontainers/rust:0-1-bullseye", rust:slim-bookworm - "image": "mcr.microsoft.com/devcontainers/rust:0-1-bullseye", - "runArgs": [ - "--network=host" - ], - // Features to add to the dev container. More info: https://containers.dev/features. - // "features": {}, - // Configure tool-specific properties. - "customizations": { - // Configure properties specific to VS Code. - "vscode": { - "settings": { - "http.proxySupport": "override", - "http.proxy": "http://172.28.240.1:7890" - }, - "extensions": [ - "streetsidesoftware.code-spell-checker", - "GitHub.copilot", - "GitHub.copilot-chat", - "eamodio.gitlens", - "ms-vscode.makefile-tools", - "ms-vscode.cpptools", - "ms-vscode.cpptools-extension-pack", - "ms-vscode.cmake-tools" - ] - } - }, - // Use 'forwardPorts' to make a list of ports inside the container available locally. - // "forwardPorts": [], - // Use 'postCreateCommand' to run commands after the container is created. - // "postCreateCommand": "rustc --version", - // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. - "remoteUser": "root" -}
\ No newline at end of file diff --git a/.vscode/c_cpp_properties.json b/.vscode/c_cpp_properties.json deleted file mode 100644 index 359928d..0000000 --- a/.vscode/c_cpp_properties.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "configurations": [ - { - "name": "Linux", - "includePath": [ - "${workspaceFolder}/**" - ], - "defines": [], - "compilerPath": "/usr/bin/gcc", - "cStandard": "c17", - "cppStandard": "c++14", - "intelliSenseMode": "linux-gcc-x64" - } - ], - "version": 4 -}
\ No newline at end of file diff --git a/.vscode/launch.json b/.vscode/launch.json deleted file mode 100644 index 65f2022..0000000 --- a/.vscode/launch.json +++ /dev/null @@ -1,54 +0,0 @@ -{ - // 使用 IntelliSense 了解相关属性。 - // 悬停以查看现有属性的描述。 - // 欲了解更多信息,请访问: https://go.microsoft.com/fwlink/?linkid=830387 - "version": "0.2.0", - "configurations": [ - { - "name": "Debug Rust with C", - "type": "cppdbg", - "request": "launch", - "program": "${workspaceFolder}/target/debug/my_rust_program", - "args": [], - "cwd": "${workspaceFolder}", - "environment": [], - "externalConsole": false, - "MIMode": "gdb", - "miDebuggerPath": "gdb", - "setupCommands": [ - { - "description": "Enable pretty-printing for gdb", - "text": "-enable-pretty-printing", - "ignoreFailures": true - } - ], - "preLaunchTask": "build", - "postDebugTask": "clean" - }, - { - "name": "(gdb) 启动", - "type": "cppdbg", - "request": "launch", - "program": "${workspaceFolder}/bindings/rs-timeout/timeout/test-timeout", - "args": [], - "stopAtEntry": false, - "cwd": "${fileDirname}", - "environment": [], - "externalConsole": false, - "MIMode": "gdb", - "setupCommands": [ - { - "description": "为 gdb 启用整齐打印", - "text": "-enable-pretty-printing", - "ignoreFailures": true - }, - { - "description": "将反汇编风格设置为 Intel", - "text": "-gdb-set disassembly-flavor intel", - "ignoreFailures": true - } - ], - "preLaunchTask": "C/C++: g++ 生成活动文件" - } - ] -}
\ No newline at end of file diff --git a/.vscode/settings.json b/.vscode/settings.json deleted file mode 100644 index c14a0f9..0000000 --- a/.vscode/settings.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "rust-analyzer.debug.engine": "ms-vscode.cpptools", - "rust-analyzer.debug.engineSettings": { - "cppdbg": { - "miDebuggerPath": "/usr/local/cargo/bin/rust-gdb", - "setupCommands": [ - { - "description": "Enable pretty-printing for gdb | 整齐打印", - "text": "-enable-pretty-printing", - "ignoreFailures": false - }, - { - "description": "将反汇编风格设置为 Intel", - "text": "-gdb-set disassembly-flavor intel", - "ignoreFailures": true - } - ], - } - }, - "rust-analyzer.linkedProjects": [ - "/workspaces/stellar-rs/bindings/rs-timeout/Cargo.toml" - ] -}
\ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json deleted file mode 100644 index 1c9ca85..0000000 --- a/.vscode/tasks.json +++ /dev/null @@ -1,42 +0,0 @@ -{ - "tasks": [ - { - "type": "cppbuild", - "label": "C/C++: g++ 生成活动文件", - "command": "make", - "args": [ - ], - "options": { - "cwd": "${workspaceFolder}/timeout" - }, - "problemMatcher": [ - "$gcc" - ], - "group": { - "kind": "build", - "isDefault": true - }, - "detail": "调试器生成的任务。", - "dependsOn":["make clean"] - }, - { - "type": "shell", - "label": "make clean", - "command": "make", - "args": [ - "clean" - ], - "options": { - "cwd": "${workspaceFolder}/timeout" - }, - "problemMatcher": [ - "$gcc" - ], - "group": { - "kind": "none", - "isDefault": false - }, - } - ], - "version": "2.0.0" -}
\ No newline at end of file |
