Skip to content

cargo: Autocargo for app and friends (#1343)#1343

Open
JakobDegen wants to merge 3 commits into
facebook:mainfrom
JakobDegen:export-D105682849
Open

cargo: Autocargo for app and friends (#1343)#1343
JakobDegen wants to merge 3 commits into
facebook:mainfrom
JakobDegen:export-D105682849

Conversation

@JakobDegen

@JakobDegen JakobDegen commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

Summary:

Get us onto autocargo

Specifically, this diff enables autocargo for all the crates in fbcode/buck2 that are not published to crates.io.

This is (relatively speaking anyway) pretty straightforward. We set up the project configs, exclude all of the things that want to be excluded, flip some appropriate defaults, and we're off. There's a dummy buck2_published project which is there to let autocargo find the excluded crates.

There's a bunch of steps that this does not take yet:

  • Checking in a cargo.lock
  • Getting lint configs to agree
  • Extending this to the other crates

I'll try and do all of those, but one step at a time

Differential Revision: D105682849

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Jun 13, 2026
@meta-codesync

meta-codesync Bot commented Jun 13, 2026

Copy link
Copy Markdown
Contributor

@JakobDegen has exported this pull request. If you are a Meta employee, you can view the originating Diff in D105682849.

Summary: This one is correctly suppressed from unknown cfg errors

Differential Revision: D108489679
@meta-codesync meta-codesync Bot changed the title cargo: Autocargo for app and friends cargo: Autocargo for app and friends (#1343) Jun 13, 2026
JakobDegen added a commit to JakobDegen/buck2 that referenced this pull request Jun 13, 2026
Summary:
Pull Request resolved: facebook#1343

Get us onto autocargo

Specifically, this diff enables autocargo for all the crates in `fbcode/buck2` that are not published to crates.io.

This is (relatively speaking anyway) pretty straightforward. We set up the project configs, exclude all of the things that want to be excluded, flip some appropriate defaults, and we're off. There's a dummy buck2_published project which is there to let autocargo find the excluded crates.

There's a bunch of steps that this does not take yet:
 - Checking in a cargo.lock
 - Getting lint configs to agree
 - Extending this to the other crates

I'll try and do all of those, but one step at a time

Differential Revision: D105682849
Summary: We stopped doing full asan builds

Differential Revision: D108490521
JakobDegen added a commit to JakobDegen/buck2 that referenced this pull request Jun 13, 2026
Summary:
Pull Request resolved: facebook#1343

Get us onto autocargo

Specifically, this diff enables autocargo for all the crates in `fbcode/buck2` that are not published to crates.io.

This is (relatively speaking anyway) pretty straightforward. We set up the project configs, exclude all of the things that want to be excluded, flip some appropriate defaults, and we're off. There's a dummy buck2_published project which is there to let autocargo find the excluded crates.

There's a bunch of steps that this does not take yet:
 - Checking in a cargo.lock
 - Getting lint configs to agree
 - Extending this to the other crates

I'll try and do all of those, but one step at a time

Differential Revision: D105682849
@JakobDegen JakobDegen force-pushed the export-D105682849 branch 2 times, most recently from 63225f1 to cfef497 Compare June 13, 2026 03:28
JakobDegen added a commit to JakobDegen/buck2 that referenced this pull request Jun 13, 2026
Summary:
Pull Request resolved: facebook#1343

Get us onto autocargo

Specifically, this diff enables autocargo for all the crates in `fbcode/buck2` that are not published to crates.io.

This is (relatively speaking anyway) pretty straightforward. We set up the project configs, exclude all of the things that want to be excluded, flip some appropriate defaults, and we're off. There's a dummy buck2_published project which is there to let autocargo find the excluded crates.

There's a bunch of steps that this does not take yet:
 - Checking in a cargo.lock
 - Getting lint configs to agree
 - Extending this to the other crates

I'll try and do all of those, but one step at a time

Differential Revision: D105682849
JakobDegen added a commit to JakobDegen/buck2 that referenced this pull request Jun 13, 2026
Summary:
Pull Request resolved: facebook#1343

Get us onto autocargo

Specifically, this diff enables autocargo for all the crates in `fbcode/buck2` that are not published to crates.io.

This is (relatively speaking anyway) pretty straightforward. We set up the project configs, exclude all of the things that want to be excluded, flip some appropriate defaults, and we're off. There's a dummy buck2_published project which is there to let autocargo find the excluded crates.

There's a bunch of steps that this does not take yet:
 - Checking in a cargo.lock
 - Getting lint configs to agree
 - Extending this to the other crates

I'll try and do all of those, but one step at a time

Differential Revision: D105682849
Summary:
Pull Request resolved: facebook#1343

Get us onto autocargo

Specifically, this diff enables autocargo for all the crates in `fbcode/buck2` that are not published to crates.io.

This is (relatively speaking anyway) pretty straightforward. We set up the project configs, exclude all of the things that want to be excluded, flip some appropriate defaults, and we're off. There's a dummy buck2_published project which is there to let autocargo find the excluded crates.

There's a bunch of steps that this does not take yet:
 - Checking in a cargo.lock
 - Getting lint configs to agree
 - Extending this to the other crates

I'll try and do all of those, but one step at a time

Differential Revision: D105682849
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. meta-exported

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant