Skip to content
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

Update rocket #105

Closed
wants to merge 1 commit into from
Closed

Update rocket #105

wants to merge 1 commit into from

Conversation

@quentinbaradat
Copy link

quentinbaradat commented Dec 29, 2018

Hi,

I had an issue when compiling the demo server. It appears that it is fixed by updating rocket from 0.3 to 0.4

See :

rust-lang/rust#57120

Also, I removed an unused use font_kit::loaders.

This PR is maybe not suitable for the master branch : the demo compiles and starts.

Regards,

@wayneashleyberry
Copy link

wayneashleyberry commented Apr 17, 2019

This got me a lot closer to building and running the demo, but still not quite there. Here's the error I get:

   Compiling pathfinder_server v0.1.0 (/Users/wayneberry/Desktop/pathfinder-fix/demo/server)
error[E0433]: failed to resolve: use of undeclared type or module `loaders`
   --> demo/server/src/main.rs:582:32
    |
582 |             let loader = match loaders::core_text::Font::from_bytes(otf_data, request.font_index) {
    |                                ^^^^^^^ use of undeclared type or module `loaders`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0433`.
error: Could not compile `pathfinder_server`.

To learn more, run the command again with --verbose.
❯ rustc --version
rustc 1.35.0-nightly (70f130954 2019-04-16)
@pcwalton
Copy link
Collaborator

pcwalton commented Apr 30, 2019

Rocket is no longer used in Pathfinder 3.

@pcwalton pcwalton closed this Apr 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

4 participants
You can’t perform that action at this time.