Skip to content

Add support of BitVec type from bitvec #744

Open

Description

@gshep

Problem to Solve

sails-idl-gen fails if BitVec is used by any program constructors or service methods:

thread 'main' panicked at gear-programs/checkpoint-light-client/build.rs:22:112:
  called `Result::unwrap()` on an `Err` value: TypeIsUnsupported("Type { path: Path { segments: [] }, type_params: [], type_def: BitSequence(TypeDefBitSequence { bit_store_type: UntrackedSymbol { id: 2, marker: PhantomData<fn() -> core::any::TypeId> }, bit_order_type: UntrackedSymbol { id: 28, marker: PhantomData<fn() -> core::any::TypeId> } }), docs: [] }")
  note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

Possible Solution

Implement support of bitvec crate.

Notes

No response

Activity

  1. self-assigned this
    on Feb 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions