Skip to content

Releases: facebook/buck2

latest

13 Apr 15:18
Compare
Choose a tag to compare
latest Pre-release
Pre-release
Clean up jdk7 bootclasspath dependencies

Summary:
jdk7 is no longer supported and there are vulnerabilities on those old libraries.
a followup diff will delete the jars in jdk7 bootclasspath

Reviewed By: sangongs

Differential Revision: D58304399

fbshipit-source-id: b547deae39829eace2d6e4220b612b28cbd380aa

2024-06-01

01 Jun 02:14
Compare
Choose a tag to compare
2024-06-01 Pre-release
Pre-release
rust-project: Warn on unowned files

Summary: Log a warning message if we can't determine the owner of a file passed to `develop`, but _is_ in fbsource (i.e., we already log if buck can't determine an owner because it's outside of the repo, but now we also log if it's in the repo but unowned).

Reviewed By: Wilfred

Differential Revision: D57947948

fbshipit-source-id: 1fd06b41341503b58e39748e994cd14f18880a6c

2024-05-15

15 May 02:08
Compare
Choose a tag to compare
2024-05-15 Pre-release
Pre-release
Update the build modes to use for debug/release in Xcode

Reviewed By: blackm00n

Differential Revision: D57332237

fbshipit-source-id: 7293ff5e896130eb0cfbf6abfcad810d2d20879a

2024-05-01

01 May 03:32
Compare
Choose a tag to compare
2024-05-01 Pre-release
Pre-release
Prefer pub(crate) for visibility

Summary:
`pub(crate)` generally gives better 'unused definition' warnings from rustc, because it knows the definition isn't used elsewhere.

Use `pub(crate)` wherever we can, and fix definitions that didn't need to be `pub` or `pub(crate)`.

Reviewed By: samkevich

Differential Revision: D56778389

fbshipit-source-id: b73364f96e9601e94a1196b25f78e92968a3edb0

2024-04-15

15 Apr 00:26
Compare
Choose a tag to compare
2024-04-15 Pre-release
Pre-release
Simplify select tests

Summary: Pass resolved select keys to `select_the_most_specific` instead of passing `ResolvedConfigurationSettings` which contains incompatible keys too.

Reviewed By: JakobDegen

Differential Revision: D56121980

fbshipit-source-id: 1d278c1a746a6fac92303f20a2cbc05a37730a79

2024-04-01

01 Apr 00:35
Compare
Choose a tag to compare
2024-04-01 Pre-release
Pre-release
cells: Repro broken cell handling in file watcher

Summary: Explanation in the diff. This seems pretty bad, I'm not going to fix it though, because it's kind of hard.

Reviewed By: stepancheg

Differential Revision: D55573384

fbshipit-source-id: b7b4483fcf34179bdeb18e33713ab7ce9422e857

2024-03-15

15 Mar 01:45
Compare
Choose a tag to compare
2024-03-15 Pre-release
Pre-release
buck2: glossary: snake casing nit

Summary: ^

Reviewed By: JakobDegen

Differential Revision: D54929757

fbshipit-source-id: 12bc297b977c82062bdce9d5c41c6ff5b6b6a870

2024-03-01

01 Mar 02:08
Compare
Choose a tag to compare
2024-03-01 Pre-release
Pre-release
Pass correct rpath origin setting to linker on Darwin for Haskell (#567)

Summary:
This is a follow-up to https://github.com/facebook/buck2/issues/536 which fixes a problem on Darwin when trying to execute a haskell_binary fails with:

```
dyld[13654]: Library not loaded: rpath/lib_backend.dylib
  Referenced from: <no uuid> /Users/runner/work/buck-out/v2/gen/root/6e975d09ae66fe71/backend/one-off-task/__one-off-task__/one-off-task
  Reason: tried: '$ORIGIN/__one-off-task__shared_libs_symlink_tree/lib_backend.dylib' (no such file), '$ORIGIN/__one-off-task__shared_libs_symlink_tree/lib_backend.dylib' (no such file), '/usr/local/lib/lib_backend.dylib' (no such file), '/usr/lib/lib_backend.dylib' (no such file, not in dyld cache)
```

Pull Request resolved: https://github.com/facebook/buck2/pull/567

Reviewed By: simonmar

Differential Revision: D54346421

Pulled By: JakobDegen

fbshipit-source-id: 00d5d9fd44fb52b24f80bfecdf0cf3683b1e44b1

2024-02-15

15 Feb 02:23
Compare
Choose a tag to compare
2024-02-15 Pre-release
Pre-release
Support GODEBUG env-var

Summary: Support setting [GODEBUG](https://go.dev/doc/godebug) on toolchain level

Reviewed By: leoleovich

Differential Revision: D53769175

fbshipit-source-id: 5a685f74ff9ad44a22f7fe2271a232697836132f

2024-02-01

01 Feb 00:42
Compare
Choose a tag to compare
2024-02-01 Pre-release
Pre-release
Fix union return type in buck2 cfg

Summary: https://fburl.com/workplace/o4ae6dwy

Reviewed By: apolloww

Differential Revision: D53290572

fbshipit-source-id: 53bdd7017842edfc911074e49fa310f07cbad56b