Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Want to quickly put dbg! into external crates?
Search
nakabonne
May 19, 2021
Programming
79
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Want to quickly put dbg! into external crates?
https://github.com/nakabonne/rhack
nakabonne
May 19, 2021
More Decks by nakabonne
See All by nakabonne
Write an embedded time-series database in Go
nakabonne
1
790
モジュールの深さについて / depth of module
nakabonne
0
180
Web API × Clean Architecture / CleanArchitecture Go
nakabonne
3
19k
Other Decks in Programming
See All in Programming
Starting & Sustaining Code-Based E2E Testing for Non-Coding QA Teams( #jasstniigata )
teyamagu
PRO
1
960
Compiling a real-world CLI tool to native with Static Hermes
tmikov2023
0
110
複雑なUIコンポーネントとの ⻑い付き合い⽅:波及するバグからテスト戦略を経て、安全な再設計へ
mixplace
0
330
JRuby: Past, Present, and Future
headius
0
230
Unity6 URPによる海底をテーマにしたVJシステムの解説 | Unity Shader 完全に理解した 勉強会
gam0022
0
350
R8 の設定見直しでアプリサイズ削減
andpad
0
200
最近”作らせてる” ローカルAIアプリの話
akit37
0
440
Verilogで学ぶCPU自作入門
uyuki234
8
4.1k
C#の現在地 進化の歴史と、AI時代の.NET Everywhere
neuecc
5
5.1k
Herb in Rails 8.2: Your ERB views, now HTML-aware @ Rails World 2026, Austin, Texas
marcoroth
0
200
Vue Fes Japan の “作る側”に関わってみて
naokihaba
0
140
AWS CDKのカスタムリソースでContinuum(旧Security Agent)を実装した話 | Implementing Continuum (formerly Security Agent) via AWS CDK Custom Resource
akihisaikeda
2
140
Featured
See All Featured
Accessibility Awareness
sabderemane
1
240
So, you think you're a good person
axbom
PRO
2
2.2k
Visualization
eitanlees
153
17k
Color Theory Basics | Prateek | Gurzu
gurzu
1
480
Docker and Python
trallard
47
4.2k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
870
Leo the Paperboy
mayatellez
10
2.4k
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
730
ラッコキーワード サービス紹介資料
rakko
1
5.3M
Utilizing Notion as your number one productivity tool
mfonobong
4
610
How to Ace a Technical Interview
jacobian
280
24k
The untapped power of vector embeddings
frankvandijk
2
1.9k
Transcript
Want to quickly put dbg! into external crates? Rust LT
Online #3
自己紹介 • 中尾 涼 (@nakabonne) • 普段: Go • Rust歴1ヶ月程度
書き始めて思ったこと • 依存ライブラリの挙動をデバッグしたい ◦ dbg!を外部クレートに書きたい • 外部クレートにパッチを送る際少し面倒 → シュッといじって、サッと捨てたい
簡単に解決できそう • ローカルの被参照クレートをコピー (.cargo/registry/src/<crate>) • Cargo.tomlのASTをいじって dependencies の参照先をそこに向ける • 向き先を戻すにはCargo.tomlをUndoするだけ
rhack - github.com/nakabonne/rhack
rhack - github.com/nakabonne/rhack
rhack - github.com/nakabonne/rhack
Good first issues • Add flag to undo to only
undo specific package #3 ◦ rhack undo reqwest • Add flag to also delete local file contents #4 ◦ rhack undo --purge
まとめ Rustの基礎知識、コミュニティの温かさを知ることが出来ました