-
Notifications
You must be signed in to change notification settings - Fork 2
Use bitflags crate for ergonomics #77
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
Open
The-Nice-One
wants to merge
6
commits into
main
Choose a base branch
from
feature/bitflags-support
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
c04dcd1
Port core module to use bitflags crate
The-Nice-One 115f7b7
Add .devcontainer/devcontainer.json file
The-Nice-One f5cbcbd
Add constant variables for flags
The-Nice-One a0835b0
Add bitflags fields to ABI structs
The-Nice-One dd14944
Fix ffi errors and warnings
The-Nice-One ec8f712
Refractor tests
The-Nice-One File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,31 @@ | ||
| // For format details, see https://aka.ms/devcontainer.json. For config options, see the | ||
| // README at: https://github.com/devcontainers/templates/tree/main/src/rust | ||
| { | ||
| "name": "Rust", | ||
| // Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile | ||
| "image": "mcr.microsoft.com/devcontainers/rust:1-1-bullseye", | ||
|
|
||
| // Features to add to the dev container. More info: https://containers.dev/features. | ||
| // "features": {}, | ||
|
|
||
| // Configure tool-specific properties. | ||
| "customizations": { | ||
| // Configure properties specific to VS Code. | ||
| "vscode": { | ||
| "settings": {}, | ||
| "extensions": [ | ||
| "streetsidesoftware.code-spell-checker" | ||
| ] | ||
| } | ||
| }, | ||
|
|
||
| // Use 'forwardPorts' to make a list of ports inside the container available locally. | ||
| // "forwardPorts": [], | ||
|
|
||
| // Use 'postCreateCommand' to run commands after the container is created. | ||
| // "postCreateCommand": "rustc --version", | ||
| "postCreateCommand": "sudo apt update && sudo apt install -y git-lfs && git lfs install" | ||
|
|
||
| // Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root. | ||
| // "remoteUser": "root" | ||
| } | ||
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| { | ||
| "cSpell.words": [ | ||
| "PIXMAP" | ||
| ] | ||
| } |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🧩 Analysis chain
🌐 Web query:
What are the available tags for mcr.microsoft.com/devcontainers/rust Docker images?💡 Result:
Available tags for mcr.microsoft.com/devcontainers/rust (current variants and common tag patterns): 1) Latest - mcr.microsoft.com/devcontainers/rust:latest [1][2] - mcr.microsoft.com/devcontainers/rust:trixie [1][2] - mcr.microsoft.com/devcontainers/rust:bookworm [1][2] - mcr.microsoft.com/devcontainers/rust:bullseye [1][2] 2) Major version tags - mcr.microsoft.com/devcontainers/rust:1 (and OS-pinned variants mcr.microsoft.com/devcontainers/rust:1-trixie,:1-bookworm,:1-bullseye) [2] 3) “2” major and minor/patch semantic version tags (pattern includes OS-pinned variants) - Examples of tags shown in the upstream Rust devcontainer image docs: - mcr.microsoft.com/devcontainers/rust:2-1 (and:2-1-trixie,:2-1-bookworm,:2-1-bullseye) [2] - mcr.microsoft.com/devcontainers/rust:2.0-1 (and:2.0-1-trixie,:2.0-1-bookworm,:2.0-1-bullseye) [2] - mcr.microsoft.com/devcontainers/rust:2.0.9-1 (and:2.0.9-1-trixie,:2.0.9-1-bookworm,:2.0.9-1-bullseye) [2] Authoritative place to view the full, complete list - https://mcr.microsoft.com/en-us/artifact/mar/devcontainers/rust/tags [1] Note: The complete list of every published semantic-version tag is dynamic; the MCR “tags” page above is the authoritative source for all currently available tags. The variants listed (trixie/bookworm/bullseye) and tag naming patterns (latest/major/semantic-version-with-OS-suffix) are explicitly documented in the devcontainers image sources. [1][2]
Citations:
🏁 Script executed:
Repository: SimplePixelFont/spf.rs
Length of output: 213
Fix invalid devcontainer Rust image tag (
1-1-bullseye).devcontainer/devcontainer.json(line 6) usesmcr.microsoft.com/devcontainers/rust:1-1-bullseye1-1-bullseyereturns 404 (tag not available); published patterns use tags like1-bullseyeand2-1-bullseyemcr.microsoft.com/devcontainers/rust:1-bullseye, or2-1-bullseyeif that’s the intended Rust version)🤖 Prompt for AI Agents