Skip to content

Add support for /d20bforceinline - #2781

Open
MatthewJM96 wants to merge 2 commits into
mozilla:mainfrom
MatthewJM96:improvement/d20bforceinline
Open

Add support for /d20bforceinline#2781
MatthewJM96 wants to merge 2 commits into
mozilla:mainfrom
MatthewJM96:improvement/d20bforceinline

Conversation

@MatthewJM96

Copy link
Copy Markdown

Summary

  • Add support for an MSVC optimisation flag, /d20bforceinline, which causes __forceinline to be respected in debug builds.

Scope

One change in src/compiler/msvc.rs to add a pass through for the flag, same as /d1nodatetime.

Validation

Updated pass through test to include the new flag.

@MatthewJM96 MatthewJM96 changed the title Improvement/d20bforceinline Add support for /d20bforceinline Jul 26, 2026
@codecov-commenter

codecov-commenter commented Jul 26, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 38.08%. Comparing base (7cd4f2c) to head (7297d3b).

❗ There is a different number of reports uploaded between BASE (7cd4f2c) and HEAD (7297d3b). Click for more details.

HEAD has 11 uploads less than BASE
Flag BASE (7cd4f2c) HEAD (7297d3b)
13 2
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #2781       +/-   ##
===========================================
- Coverage   70.90%   38.08%   -32.83%     
===========================================
  Files          71       56       -15     
  Lines       40393    15848    -24545     
===========================================
- Hits        28642     6035    -22607     
+ Misses      11751     9813     -1938     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment thread src/compiler/msvc.rs
"-Qpar-",
"-Gw",
"/d1nodatetime",
"/d20bforceline",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Typo in flag name, so the CI was failed

@AJIOB AJIOB mentioned this pull request Jul 29, 2026
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