Skip to content

chore: Update htslib to 1.23#32

Open
killercup wants to merge 9 commits into
rust-bio:mainfrom
Softleif:hts-1.23
Open

chore: Update htslib to 1.23#32
killercup wants to merge 9 commits into
rust-bio:mainfrom
Softleif:hts-1.23

Conversation

@killercup

@killercup killercup commented Mar 7, 2026

Copy link
Copy Markdown

Bump the hts submodule to version 1.23 (see https://github.com/samtools/htslib/releases/tag/1.23) and also update the prebuilt bindings.

Along the way, I also change a bunch of other things, e.g. making the minimum Rust version explicit and removing the static feature as cc always sets this now.

@killercup killercup changed the title Hts 1.23 chore: Update htslib to 1.23 Mar 7, 2026
htslib 1.23 merged hfile_s3_write.c into hfile_s3.c

@dlejeune dlejeune left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, and checked that it does indeed compile on my machine (famous last words lol).

Hopefully this can get merged!

Comment thread README.md
cp target/debug/build/hts-sys-*/out/bindings.rs osx_prebuilt_bindings.rs
```

### Linux

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume that the need for docker is cause you're on a Mac -- might be worth just noting that here?

Comment thread build.rs
}

cfg.file("wrapper.c");
cfg.cargo_warnings(false);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not super familiar with this, but don't we want to leave cargo warnings on?

Comment thread README.md

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I always like having more docs :)

One thing that tripped me up initially is needing to clone this repo recursively, and then also doing git pull --recurse-submodules otherwise you get weird compiler errors. So maybe we can add that to the documentation?

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not gonna look at these lol

@dlejeune

dlejeune commented Jun 1, 2026

Copy link
Copy Markdown

Hey -- @johanneskoester are there any chances of this getting merged in? I had a cursory look at this PR and all seems good in my book.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants