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

Create a new dylib project #1212

Closed
caizixian opened this issue Jan 24, 2015 · 5 comments
Closed

Create a new dylib project #1212

caizixian opened this issue Jan 24, 2015 · 5 comments
Labels
Command-new S-needs-design Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted. S-propose-close Status: A team member has nominated this for closing, pending further input from the team

Comments

@caizixian
Copy link

Can I use cargo new <name> --dylib
Currently, I can only cargo new <name> and then edit the Cargo.toml manually.

@alexcrichton
Copy link
Member

The current method of creating a dylib isn't exactly the most desirable, and I've long wanted to tweak it to work a bit better with the rest of the system. That being said this would probably be fine to add for now as we'll probably continue supporting it later.

@stale
Copy link

stale bot commented Sep 21, 2018

As there hasn't been any activity here in a while would someone (the author, a team member, or any interested party) be able to summarise the current state, perhaps making explicit:

  • Is this still relevant?
  • If so, what is blocking it?
  • Is it known what could be done to help move this forward?

Thank you!

(The cargo team is currently evaluating the use of Stale bot, and using #6035 as the tracking issue to gather feedback.)

If you're reading this comment from the distant future, fear not if this was closed automatically. If you believe it's still an issue please leave a comment and a team member can reopen this issue. Opening a new issue is also acceptable!

@stale stale bot added the stale label Sep 21, 2018
@caizixian
Copy link
Author

I believe that --dylib option is still not supported.

Attached is the output

cargo new --help
cargo-new
Create a new cargo package at <path>

USAGE:
    cargo new [OPTIONS] <path>

OPTIONS:
        --vcs <VCS>       Initialize a new repository for the given version control system (git, hg, pijul, or fossil)
                          or do not initialize any version control at all (none), overriding a global configuration.
                          [possible values: git, hg, pijul, fossil, none]
        --bin             Use a binary (application) template [default]
        --lib             Use a library template
        --name <NAME>     Set the resulting package name, defaults to the directory name
    -v, --verbose         Use verbose output (-vv very verbose/build.rs output)
    -q, --quiet           No output printed to stdout
        --color <WHEN>    Coloring: auto, always, never
        --frozen          Require Cargo.lock and cache are up to date
        --locked          Require Cargo.lock is up to date
    -Z <FLAG>...          Unstable (nightly-only) flags to Cargo, see 'cargo -Z help' for details
    -h, --help            Prints help information

ARGS:
    <path>
cargo --version
cargo 1.29.0 (524a578d7 2018-08-05)

@stale stale bot removed the stale label Sep 21, 2018
@weihanglo weihanglo added the S-needs-design Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted. label May 14, 2023
@epage epage added the S-propose-close Status: A team member has nominated this for closing, pending further input from the team label Sep 28, 2023
@epage
Copy link
Contributor

epage commented Sep 28, 2023

I'm proposing we close this.

I feel like dylib's aren't a large enough use case for built-in support but that we should instead close in favor of #5151.

@weihanglo
Copy link
Member

Agree. Closing in favor of #5151.

@weihanglo weihanglo closed this as not planned Won't fix, can't repro, duplicate, stale Jan 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Command-new S-needs-design Status: Needs someone to work further on the design for the feature or fix. NOT YET accepted. S-propose-close Status: A team member has nominated this for closing, pending further input from the team
Projects
None yet
Development

No branches or pull requests

4 participants