Skip to content

Remove LazyLock #250

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Feb 28, 2025
Merged

Remove LazyLock #250

merged 2 commits into from
Feb 28, 2025

Conversation

Avgor46
Copy link
Member

@Avgor46 Avgor46 commented Feb 28, 2025

No description provided.

Copy link

codecov bot commented Feb 28, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 66.39%. Comparing base (b260c9f) to head (18fe894).
Report is 1 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #250      +/-   ##
==========================================
- Coverage   66.40%   66.39%   -0.01%     
==========================================
  Files          34       34              
  Lines        8213     8211       -2     
==========================================
- Hits         5454     5452       -2     
  Misses       2759     2759              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

static EXE_CASR_GDB: LazyLock<&'static str> = LazyLock::new(|| env!("CARGO_BIN_EXE_casr-gdb"));
static PROJECT_DIR: LazyLock<&'static str> = LazyLock::new(|| env!("CARGO_MANIFEST_DIR"));

static EXE_CASR_CORE: &str = env!("CARGO_BIN_EXE_casr-core");
Copy link
Member

Choose a reason for hiding this comment

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

Since it's being edited anyway, maybe it's worth putting it in alphabetical order?

Copy link
Member Author

Choose a reason for hiding this comment

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

You could do it by yourself if you want in another PR

@SweetVishnya SweetVishnya merged commit 8308860 into master Feb 28, 2025
11 of 14 checks passed
@SweetVishnya SweetVishnya deleted the fix-static branch February 28, 2025 14:04
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.

3 participants