diff --git a/.vscode/launch.json b/.vscode/launch.json new file mode 100644 index 0000000..638782c --- /dev/null +++ b/.vscode/launch.json @@ -0,0 +1,23 @@ +{ + // Use IntelliSense to learn about possible attributes. + // Hover to view descriptions of existing attributes. + // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 + "version": "0.2.0", + "configurations": [ + { + "type": "lldb", + "request": "custom", + "name": "Remote attach to qemu", + "targetCreateCommands": [ + "target create target/aarch64-none-elf/release/boldos" + ], + "processCreateCommands": [ + "gdb-remote 1234" + ], + "sourceLanguages": [ + "rust" + ], + "cwd": "${workspaceFolder}" + }, + ] +} \ No newline at end of file diff --git a/Cargo.toml b/Cargo.toml index 8e8dad6..b618a6d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -10,17 +10,17 @@ repository = "https://github.com/Wazzaps/bold" panic = "abort" lto = true debug = true -opt-level = 'z' +opt-level = 1 [profile.test] lto = true -debug = true +debug = false opt-level = 'z' [profile.release] panic = "abort" lto = true -debug = true +debug = false opt-level = 'z' [dependencies] @@ -31,5 +31,5 @@ async-trait = "0.1.50" futures = { version = "0.3", default-features = false, features = ["alloc"] } arrayvec = { version = "0.7.1", default-features = false } dtb = "0.2.0" -tar-parser = { path = "externals/tar-parser.rs", default-features = false} +tar-parser = { path = "externals/tar-parser.rs", default-features = false } lazy_static = { version = "1.4.0", features = ["spin_no_std"] }