Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
R
rusttype
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 22
    • Issues 22
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 1
    • Merge Requests 1
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • redox-os
  • rusttype
  • Issues
  • #130

Closed
Open
Opened Dec 25, 2018 by icefoxen@icefoxen

`gpu_cache` feature does not build.

When trying to run the examples, or build with the gpu_cache feature flag, like so:

cargo run --example gpu_cache --features=gpu_cache or cargo build --features=gpu_cache

it doesn't build, since there's a lot of unimplemented traits, for example:

error[E0277]: the trait bound `gpu_cache::Row: std::clone::Clone` is not satisfied                                                  
   --> /home/icefox/.cargo/registry/src/github.com-1ecc6299db9ec823/rusttype-0.7.3/src/gpu_cache.rs:209:5                           
    |                                                                                                                               
209 |     rows: LinkedHashMap<u32, Row, FxBuildHasher>,                                                                             
    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the trait `std::clone::Clone` is not implemented for `gpu_cache::Row`        
    |                                                                                                                               
    = note: required because of the requirements on the impl of `std::clone::Clone` for `gpu_cache::linked_hash_map::LinkedHashMap<u32, gpu_cache::Row, std::hash::BuildHasherDefault<gpu_cache::rustc_hash::FxHasher>>`
    = note: required by `std::clone::Clone::clone`                                                                                  
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: redox-os/rusttype#130