Skip to content

Commit

Permalink
Merge pull request #51 from zhangzhuang15/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
zhangzhuang15 authored Nov 22, 2024
2 parents 6c1acb4 + 5281e89 commit 2d85511
Show file tree
Hide file tree
Showing 15 changed files with 1,268 additions and 30 deletions.
4 changes: 3 additions & 1 deletion .vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -393,6 +393,7 @@ export default defineConfig({
{ text: "首页", link: "/tool/index-page" },
{ text: 'Oh-my-zsh', link: '/tool/ohMyZsh' },
{ text: "homebrew tool", link: "/tool/brew-tool" },
{ text: 'curl tool', link: '/tool/curl-tool' },
{ text: "rust CLI tool", link: "/tool/rust-tool" },
{ text: 'Github', link: '/tool/index-github'},
{
Expand Down Expand Up @@ -452,7 +453,8 @@ export default defineConfig({
link: '/tool/ansi-escape-control'
},
{ text: 'software', link: '/tool/software' },
{ text: 'misc', link: "/tool/misc"}
{ text: 'misc', link: "/tool/misc"},
{ text: 'arm指令清单', link: '/tool/arm' }
],
"/links": [
{ text: "首页", link: "/links/index-page" },
Expand Down
17 changes: 17 additions & 0 deletions docs/blog/crossbeam-learning-notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
title: "crossbeam 学习笔记"
page: true
aside: true
---

## 什么是crossbeam
crossbeam是一个Rust开源项目,提供并发编程工具,这些并发工具在实现的时候,一部分基于Rust标准库提供的基础功能,另一部分基于无锁编程技术。在其他由Rust开发的项目中,有很多都使用了crossbeam。

## BackOff
待补充

## ArrayQueue
待补充

## SegQueue
待补充
2 changes: 1 addition & 1 deletion docs/blog/rust-binary-is-big.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ ld --help
:::

## rpath 和 strip
strip 工具的主要目的是从可执行文件或库文件中删除调试信息和符号表,以减小文件大小。然而,strip 不会删除 rpath 符号。
strip 工具的主要目的是从可执行文件或库文件中删除调试信息和符号表,以减小文件大小。然而,strip 不会删除 rpath 符号。不能简单认为strip会把符号表的所有内容删除,在某些情形下,一些符号会被保留,这个通过`man strip`查看。

rpath 信息存储在可执行文件或动态库的动态段(Dynamic Segment)中,而不是在符号表中。

Expand Down
Loading

0 comments on commit 2d85511

Please sign in to comment.