wechat-miniprogram / wechat-miniprogram/float-pigment

float-pigment-css and float-pigment-layout uses a dependency that does not support no_std

Open
#42 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
17
Forks
4
Avg merge
4m
Merged PRs (30d)
1

Description

Crate float-pigment-css is marked as no_std. But since the non-optional dependency cssparser-color isn't a no_std crate, float-pigment-css cannot be compiled for a bare-metal target.

Related to the above issue, float-pigment-layout is also marked as no_std but uses the above float-pigment-css as a dependency. So the non-no_std dependency cssparser-color is used as a transitive dependency and causes the same issue.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with float-pigment-css/src/lib.rs and inspect how float-pigment-layout depends on that crate, then trace the cssparser-color dependency. Verify the crates' no_std claims by attempting a bare-metal or no_std build. Done means the affected crates can compile for a no_std target without cssparser-color blocking them.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
embedded-iot
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.