Skip to content

Conversation

@SteveL-MSFT
Copy link
Member

@SteveL-MSFT SteveL-MSFT commented Nov 7, 2025

PR Summary

Fixes some issues:

  • use hybrid-crt for Windows build
  • grammar fixes
  • remove redundant check for az
  • add new cap in Appx manifest
  • move RUSTFLAGS in build to cargo.toml
  • remove unnecessary static_vcruntime crate

Context

Fix #1243
Fix #1244

@SteveL-MSFT SteveL-MSFT requested review from Copilot and tgauth November 7, 2025 18:47
Copy link
Contributor

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 includes code cleanup and configuration improvements across build scripts, CI/CD pipelines, and project templates.

  • Simplifies Azure CLI authentication logic by removing redundant command existence checks
  • Fixes URL formatting issue in Azure DevOps pipeline
  • Corrects spelling error in issue template
  • Updates Cargo configuration for Windows MSVC targets with explicit CRT linking flags

Reviewed Changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
build.ps1 Removes redundant nested Azure CLI command check, streamlining authentication flow
.pipelines/DSC-Official.yml Fixes malformed Azure DevOps organization URL (removes double slash)
.github/ISSUE_TEMPLATE/Feature_Request.yml Corrects duplicate word in placeholder text
.cargo/config.toml Expands rustflags configuration with explicit Windows CRT library linking arguments

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

@SteveL-MSFT SteveL-MSFT changed the title Misc fixes Update Appx manifest with new cap and fix statically linking to vcruntime Nov 7, 2025
}

$env:RUSTC_LOG=$null
$env:RUSTFLAGS='-Dwarnings'
Copy link

Choose a reason for hiding this comment

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

Whoops, you still have one of these in build.helpers.psm1 as well. Line 753-754

Copy link

Choose a reason for hiding this comment

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

BUILD:   Performing setup steps::Configuring Rust environment
VERBOSE: Caching current rust environment variables...
VERBOSE: No Rust environment variables defined
VERBOSE: Setting RUSTFLAGS to '-Dwarnings'

Copy link

@DHowett DHowett left a comment

Choose a reason for hiding this comment

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

It's perfect. Not a DLL dependency out of place.

@SteveL-MSFT SteveL-MSFT added this pull request to the merge queue Nov 10, 2025
Merged via the queue into PowerShell:main with commit 614a7f1 Nov 10, 2025
19 checks passed
@SteveL-MSFT SteveL-MSFT deleted the bot-fixes branch November 10, 2025 17:51
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.

DSC depends on vcruntime140.dll but does not declare it DSC MSIX cannot be installed without internet/store access

3 participants