Skip to content

strip cli target - #143

Merged
laurmaedje merged 1 commit into
typst:mainfrom
arctic-penguin:patch-1
Mar 24, 2023
Merged

laurmaedje merged 1 commit into
typst:mainfrom
arctic-penguin:patch-1

Conversation

@arctic-penguin

Copy link
Copy Markdown
Contributor

Stripping typst-cli reduces the file size from 24 MB to 18 MB.

Stripping `typst-cli` reduces the file size from 24 MB to 18 MB.
@colindean

Copy link
Copy Markdown

Could this PR also remove the strip step from release builds?

- name: Strip binary (Linux and macOS)
if: matrix.build == 'linux' || matrix.build == 'macos'
run: strip "target/release/typst"

@CGMossa

CGMossa commented Mar 22, 2023

Copy link
Copy Markdown
Contributor

I do believe that strip is better at stripping then... rustc's stripping.. or something like that.

@laurmaedje
laurmaedje merged commit 88e1134 into typst:main Mar 24, 2023
mattfbacon pushed a commit to mattfbacon/typst that referenced this pull request Mar 26, 2023
Stripping `typst-cli` reduces the file size from 24 MB to 18 MB.
yipinliu pushed a commit to yipinliu/typst that referenced this pull request Mar 27, 2023
* 'main' of https://github.com/typst/typst: (22 commits)
  Added IPA pronunciation (typst#349)
  Cache eviction helps
  Pronunciation
  Don't let the build script overwrite TYPST_VERSION (typst#154)
  Document behaviour of dictionary.insert() when key exists (typst#282)
  Add custom font search path support for typst cli (typst#270)
  Added return type to methods of colors in docs (typst#291)
  change page numbering for outline (typst#284)
  Newton's notation for derivatives (typst#281)
  Use correct smart quotes for Norwegian Bokmål language code (typst#278)
  Fix fill color obstructing page header and background (typst#277)
  Simplify heading block example
  Fix index out of bounds error in build script (typst#173)
  Replace infinite repeat layout panic with error (typst#235)
  Changed "ColorChoice::Always" to "ColorChoice::Auto" to honour user setting of TERM / NO_COLOR (typst#230)
  Fixed Typo (typst#227)
  Fix descriptions of some types (typst#206)
  Fix import syntax in tutorial (typst#205)
  Make alignment actually centered (typst#176)
  strip cli target (typst#143)
  ...
Dikluwe pushed a commit to Dikluwe/typst-crystalline that referenced this pull request Sep 12, 2026
Stripping `typst-cli` reduces the file size from 24 MB to 18 MB.
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.

4 participants