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

Directory in which cargo install sea-orm-cli compiles to #956

Closed
jxuanli opened this issue Aug 10, 2022 · 6 comments
Closed

Directory in which cargo install sea-orm-cli compiles to #956

jxuanli opened this issue Aug 10, 2022 · 6 comments

Comments

@jxuanli
Copy link

jxuanli commented Aug 10, 2022

Hello, I am wondering which directory can I find the files created by cargo install sea-orm-cli? Thanks

@billy1624
Copy link
Member

billy1624 commented Aug 10, 2022

Hey @jxuanli, welcome! Interesting question! Why are you asking?

Anyways, you can find the location of sea-orm-cli binary in your file system with which sea-orm-cli command.

$ which sea-orm-cli
/Users/billy/.cargo/bin/sea-orm-cli

@jxuanli
Copy link
Author

jxuanli commented Aug 10, 2022

thanks for your reply! cargo install sea-orm-cli didn't successfully compile for me. However, during the compilation, I believe some files have been created in a ./target-like directory. I thought maybe it underwent a process similar to cargo build or cargo run:

   Compiling version_check v0.9.4
   Compiling autocfg v1.1.0
   Compiling proc-macro2 v1.0.43
   Compiling quote v1.0.21
   Compiling unicode-ident v1.0.3
   Compiling syn v1.0.99
   Compiling winapi-x86_64-pc-windows-gnu v0.4.0
   Compiling futures-core v0.3.21
   Compiling typenum v1.15.0
...

Or do compiled files disappear if the installation is unsuccessful?

@jxuanli
Copy link
Author

jxuanli commented Aug 10, 2022

The error I had was a system (windows x86) linking issue when compiling sqlx-macros but I dont want the compiled files to take extra space

@billy1624
Copy link
Member

What's you Rust compiler version?

You can get that info by executing:

$ rustc -V
rustc 1.62.1 (e092d0b6b 2022-07-16)

@billy1624 billy1624 moved this from Triage to In Progress in SeaQL Dev Tracker Aug 10, 2022
@billy1624 billy1624 moved this to Triage in SeaQL Dev Tracker Aug 10, 2022
@billy1624
Copy link
Member

These issues might be related if you're on a older version of Rust:

@billy1624 billy1624 moved this from In Progress to Next Up in SeaQL Dev Tracker Aug 24, 2022
@billy1624
Copy link
Member

Hey @jxuanli, please reopen this if you still have questions :)

@billy1624 billy1624 moved this from Next Up to Done in SeaQL Dev Tracker Jan 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

2 participants