Add skip-data-init feature to disable .data section initialization #985
Workflow file for this run
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | on: | |
| pull_request: | |
| merge_group: | |
| workflow_dispatch: | |
| name: cortex-m CI | |
| jobs: | |
| ci-linux: | |
| runs-on: ubuntu-latest | |
| continue-on-error: ${{ matrix.experimental || false }} | |
| strategy: | |
| matrix: | |
| # All generated code should be running on stable now | |
| rust: [stable] | |
| include: | |
| # Test MSRV | |
| - rust: 1.61.0 | |
| # Test nightly but don't fail | |
| - rust: nightly | |
| experimental: true | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: dtolnay/rust-toolchain@master | |
| with: | |
| toolchain: ${{ matrix.rust }} | |
| - name: Run tests | |
| run: cargo test --all --exclude cortex-m-rt --exclude testsuite --features cortex-m/critical-section-single-core |