Skip to content

Commit c2e551b

Browse files
authored
Merge pull request #24 from dpaoliello/llvm20
Update to match LLVM 20.1.8
2 parents afb4ac0 + ef4912a commit c2e551b

23 files changed

+1378
-473
lines changed

Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "ar_archive_writer"
3-
version = "0.4.2"
4-
edition = "2021"
3+
version = "0.5.0"
4+
edition = "2024"
55
license = "Apache-2.0 WITH LLVM-exception"
66
description = "A writer for object file ar archives"
77
keywords = ["ar", "archive"]
@@ -11,12 +11,12 @@ repository = "https://github.com/rust-lang/ar_archive_writer"
1111
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
1212

1313
[dependencies]
14-
object = { version = "0.36.2", default-features = false, features = ["std", "read"] }
14+
object = { version = "0.37.1", default-features = false, features = ["std", "read"] }
1515

1616
[dev-dependencies]
1717
cargo-binutils = "0.3.6"
18-
object = { version = "0.36.2", default-features = false, features = ["write", "xcoff"] }
19-
pretty_assertions = "1.4.0"
18+
object = { version = "0.37.1", default-features = false, features = ["write", "xcoff"] }
19+
pretty_assertions = "1.4.1"
2020

2121
[lints.rust]
2222
rust_2018_idioms = { level = "deny" }

reference/Alignment.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
// power of two, its minimum value is 1 which means no alignment requirements.
1515
//
1616
// - MaybeAlign is an optional type, it may be undefined or set. When it's set
17-
// you can get the underlying Align type by using the getValue() method.
17+
// you can get the underlying Align type by using the value() method.
1818
//
1919
//===----------------------------------------------------------------------===//
2020

reference/Archive.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,8 @@ class Archive : public Binary {
338338

339339
Kind kind() const { return (Kind)Format; }
340340
bool isThin() const { return IsThin; }
341-
static object::Archive::Kind getDefaultKindForHost();
341+
static object::Archive::Kind getDefaultKind();
342+
static object::Archive::Kind getDefaultKindForTriple(const Triple &T);
342343

343344
child_iterator child_begin(Error &Err, bool SkipInternal = true) const;
344345
child_iterator child_end() const;

0 commit comments

Comments
 (0)