Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • O orbclient
  • Project information
    • Project information
    • Activity
    • Labels
    • Planning hierarchy
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 5
    • Merge requests 5
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • redox-os
  • orbclient
  • Merge requests
  • !69

Open
Created Oct 25, 2021 by Tim Crawford@tcrawfordContributor
  • Report abuse
Report abuse

Improve no-std config

  • Overview 3
  • Commits 1
  • Pipelines 3
  • Changes 7

Replace the no_std feature with std, and have that set by default. Allows building for a no_std target by disabling deault features.

Make the SDL dependencies optional, and only use them if either the sdl or bundled feature is used. Hosted targets that want to use SDL2 must now select one of these features. (Minor version should be bumped because of this change.)

Add a no_std target (Cortex-M0) to CI to ensure it continues to build.

Additionally, made sure it builds for UEFI target.

cargo +nightly build --no-default-features \
    --target x86_64-unknown-uefi -Z build-std=core,alloc
Edited Apr 04, 2022 by Tim Crawford
Assignee
Assign to
Reviewer
Request review from
Time tracking
Source branch: no-std