diff --git a/apps/system/components/DebugConsole/Cargo.toml b/apps/system/components/DebugConsole/Cargo.toml index 9752d0f..c8f76da 100644 --- a/apps/system/components/DebugConsole/Cargo.toml +++ b/apps/system/components/DebugConsole/Cargo.toml @@ -14,7 +14,8 @@ resolver = "2" [profile.dev] opt-level = 0 debug = true -lto = "fat" +# TODO(b/223253186): workaround gdb DIE errors +lto = false codegen-units = 1 [profile.release] diff --git a/apps/system/components/MlCoordinator/Cargo.toml b/apps/system/components/MlCoordinator/Cargo.toml index 888b05c..d75d49a 100644 --- a/apps/system/components/MlCoordinator/Cargo.toml +++ b/apps/system/components/MlCoordinator/Cargo.toml @@ -10,7 +10,8 @@ resolver = "2" [profile.dev] opt-level = 0 debug = true -lto = "fat" +# TODO(b/223253186): workaround gdb DIE errors +lto = false codegen-units = 1 [profile.release] diff --git a/apps/system/components/ProcessManager/Cargo.toml b/apps/system/components/ProcessManager/Cargo.toml index da48d85..cd1ac00 100644 --- a/apps/system/components/ProcessManager/Cargo.toml +++ b/apps/system/components/ProcessManager/Cargo.toml @@ -11,7 +11,8 @@ resolver = "2" [profile.dev] opt-level = 0 debug = true -lto = "fat" +# TODO(b/223253186): workaround gdb DIE errors +lto = false codegen-units = 1 [profile.release] diff --git a/apps/system/components/SecurityCoordinator/Cargo.toml b/apps/system/components/SecurityCoordinator/Cargo.toml index 8911ac7..98f9bac 100644 --- a/apps/system/components/SecurityCoordinator/Cargo.toml +++ b/apps/system/components/SecurityCoordinator/Cargo.toml @@ -10,7 +10,8 @@ resolver = "2" [profile.dev] opt-level = 0 debug = true -lto = "fat" +# TODO(b/223253186): workaround gdb DIE errors +lto = false codegen-units = 1 [profile.release] diff --git a/apps/system/components/StorageManager/Cargo.toml b/apps/system/components/StorageManager/Cargo.toml index 095342a..0b66971 100644 --- a/apps/system/components/StorageManager/Cargo.toml +++ b/apps/system/components/StorageManager/Cargo.toml @@ -10,7 +10,8 @@ resolver = "2" [profile.dev] opt-level = 0 debug = true -lto = "fat" +# TODO(b/223253186): workaround gdb DIE errors +lto = false codegen-units = 1 [profile.release]