example name… Build the specified example. This flag may be specified multiple timesĪnd supports common Unix glob patterns. Use single quotes or double quotes around each glob pattern. Shell accidentally expanding glob patterns before Cargo handles them, you must Support common Unix glob patterns like *, ? and. Note that -bin, -example, -test and -bench flags also Passing target selection flags will build only the specified Is set when the integration test is built so that it can use the Test to execute the binary to exercise and test its behavior. They have required-features that are missing.īinary targets are automatically built if there is an integration test orīenchmark being selected to build. When no target selection options are given, cargo build will build allīinary and library targets of the selected packages. Single quotes or double quotes around each pattern. However, to avoid your shellĪccidentally expanding glob patterns before Cargo handles them, you must use This flag may be specified multiple times and supportsĬommon Unix glob patterns like *, ? and. exclude SPEC… Exclude the specified packages. workspace Build all members in the workspace. However, to avoid your shell accidentallyĮxpanding glob patterns before Cargo handles them, you must use single quotes orĭouble quotes around each pattern. This flag may be specified multiple times and supports common Unix p spec… -package spec… Build only the specified packages. workspace), and a non-virtual workspace will include only the root crate itself. Virtual workspace will include all workspace members (equivalent to passing The default members of a workspace can be set explicitly with the The workspaces default members are selected, otherwise only the package defined If the manifest is the root of a workspace then OPTIONS Package Selectionīy default, when no package selection options are given, the packages selectedĭepend on the selected manifest file (based on the current working directory if Cargo-build - Compile the current package SYNOPSISĬompile local packages and all of their dependencies.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |