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

cargo build not working #5

Closed
michg opened this issue Mar 10, 2021 · 2 comments · Fixed by #6
Closed

cargo build not working #5

michg opened this issue Mar 10, 2021 · 2 comments · Fixed by #6

Comments

@michg
Copy link

michg commented Mar 10, 2021

Hello Marius,
thanks for your editor. Currently the build seems to be broken. Core/Cargo.toml references a local version of zi:
zi = { version = "0.1.4", path = "../../zi" }
With the tagged version 0.1.4 of zi, it does not build:

error[E0599]: no method named invert found for struct Style in the current scope
--> core\src\components\prompt\buffers.rs:288:65
|
288 | ... .style(self.properties.theme.action.invert())
| ^^^^^^ method not found in Style

error[E0599]: no function or associated item named new found for struct Container in the current scope
--> core\src\editor.rs:578:40
|
578 | let mut container = Container::new(FlexDirection::Row);
| ^^^ function or associated item not found in Container

error[E0599]: no function or associated item named new found for struct Container in the current scope
--> core\src\editor.rs:593:44
|
593 | container = Container::new(*direction);
| ^^^ function or associated item not found in Container

error: aborting due to 3 previous errors

For more information about this error, try rustc --explain E0599.
error: could not compile zee

Regards,
Michael

@mcobzarenco
Copy link
Collaborator

Thanks for this Michael and my apologies for slow reply and broken master -- will fix asap

@michg
Copy link
Author

michg commented May 2, 2021

Thanks a lot for fixing it, the new version looks good.
Regards,
Michael

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants