Skip to content

Conversation

@Tools-cx-app
Copy link

using

[profile.dev]
overflow-checks = false
opt-level = 3
strip = true

[profile.release]
overflow-checks = false
codegen-units = 1
lto = "fat"
opt-level = 3
strip = true

to optimize ksud compilation products

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the Cargo build profiles for the ksud binary to optimize compilation settings for both development and release builds. The changes focus on performance optimization and binary size management.

  • Modified the [profile.release] section to use more aggressive optimization settings
  • Added a new [profile.dev] section with optimized settings for development builds
  • Changed optimization level from "z" (optimize for size) to 3 (optimize for speed) in release mode
Comments suppressed due to low confidence (1)

userspace/ksud/Cargo.toml:4

  • The Rust edition '2024' does not exist. Valid Rust editions are '2015', '2018', and '2021'. This should be changed to 'edition = "2021"' to use the latest stable Rust edition.
edition = "2024"

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant