Skip to content

Commit f86e674

Browse files
committed
Buckify
0 parents  commit f86e674

File tree

112 files changed

+23433
-0
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

112 files changed

+23433
-0
lines changed

.buckconfig

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[cells]
2+
rust = .
3+
prelude = prelude
4+
toolchains = toolchains
5+
none = none
6+
7+
[external_cells]
8+
prelude = bundled
9+
10+
[cell_aliases]
11+
config = prelude
12+
fbcode = none
13+
fbsource = none
14+
15+
[project]
16+
ignore = .git, rust/build, rust/node_modules, rust/target
17+
18+
[build]
19+
execution_platforms = rust//platforms:execution

.buckroot

Whitespace-only changes.

.cargo/config.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
[unstable]
2+
bindeps = true

.github/workflows/ci.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Buck2
2+
3+
on:
4+
push:
5+
workflow_dispatch:
6+
schedule: [cron: "40 14 * * *"]
7+
8+
permissions:
9+
contents: read
10+
11+
jobs:
12+
buck2:
13+
name: Buck2 on ${{matrix.os == 'ubuntu' && 'Linux' || matrix.os == 'macos' && 'macOS' || matrix.os == 'windows' && 'Windows' || '???'}}
14+
runs-on: ${{matrix.os}}-latest
15+
strategy:
16+
fail-fast: false
17+
matrix:
18+
os:
19+
- ubuntu
20+
- macos
21+
#- windows
22+
timeout-minutes: 90
23+
steps:
24+
- uses: actions/checkout@v4
25+
- uses: dtolnay/install-buck2@latest
26+
- run: git submodule update --init prelude
27+
- run: git submodule update --init rust
28+
- run: git submodule update --init library/backtrace
29+
working-directory: rust
30+
- run: git submodule update --init library/stdarch
31+
working-directory: rust
32+
- run: buck2 run stage2:rustc -- --version --verbose

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/buck-out/
2+
/rustc-ice-*

.gitmodules

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "rust"]
2+
path = rust
3+
url = https://github.com/rust-lang/rust.git

.ignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
/prelude/
2+
/rust/

.taplo.toml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
exclude = [
2+
"buck-out/**",
3+
"prelude/**",
4+
"rust/**",
5+
]
6+
7+
[formatting]
8+
align_comments = false
9+
array_auto_collapse = false
10+
array_auto_expand = false
11+
indent_string = " "
12+
13+
[[rule]]
14+
include = ["**/Cargo.toml"]
15+
keys = [
16+
"dependencies",
17+
"patch.crates-io",
18+
"target.*.dependencies",
19+
"workspace",
20+
]
21+
[rule.formatting]
22+
reorder_arrays = true
23+
reorder_keys = true

0 commit comments

Comments
 (0)