File tree Expand file tree Collapse file tree 5 files changed +14
-12
lines changed
Expand file tree Collapse file tree 5 files changed +14
-12
lines changed Original file line number Diff line number Diff line change 11name : ci
22
33on :
4- push :
5- branches :
6- - main
7- pull_request :
8-
94env :
105 CARGO_TERM_COLOR : always
116
Original file line number Diff line number Diff line change 11# Argon
22
3- [ ![ ci] ( https://github.com/ucb-substrate/argon/actions/workflows/ci.yml/badge.svg )] ( https://github.com/ucb-substrate/argon/actions/workflows/ci.yml )
43[ ![ License] ( https://img.shields.io/badge/License-BSD_3--Clause-blue.svg )] ( https://opensource.org/licenses/BSD-3-Clause )
54
65Argon is a programming language for writing constraint-based integrated circuit layout generators.
Original file line number Diff line number Diff line change @@ -178,7 +178,8 @@ impl Render for LayerSideBar {
178178 . filter ( |layer| {
179179 layer
180180 . name
181- . contains ( self . name_filter . read ( cx) . content . as_ref ( ) )
181+ . to_lowercase ( )
182+ . contains ( & self . name_filter . read ( cx) . content . to_lowercase ( ) )
182183 && ( !self . state . read ( cx) . used_filter || layer. used )
183184 } )
184185 . map ( |layer| {
@@ -284,7 +285,8 @@ impl HierarchySideBar {
284285 let expanded = self . expanded_scopes . contains ( & scope_path) ;
285286 if scope_state
286287 . name
287- . contains ( self . name_filter . read ( cx) . content . as_ref ( ) )
288+ . to_lowercase ( )
289+ . contains ( & self . name_filter . read ( cx) . content . to_lowercase ( ) )
288290 {
289291 scopes. push (
290292 div ( )
Original file line number Diff line number Diff line change @@ -49,9 +49,16 @@ impl SyncGuiToLspClient {
4949 let ( tx, mut rx) = mpsc:: channel ( 1 ) ;
5050 let mut listener = self . app . background_executor ( ) . block (
5151 async {
52- tarpc:: serde_transport:: tcp:: listen ( ( Ipv4Addr :: LOCALHOST , 0 ) , Json :: default)
53- . await
54- . unwrap ( )
52+ if let Ok ( listener) =
53+ tarpc:: serde_transport:: tcp:: listen ( ( Ipv4Addr :: LOCALHOST , 12346 ) , Json :: default)
54+ . await
55+ {
56+ listener
57+ } else {
58+ tarpc:: serde_transport:: tcp:: listen ( ( Ipv4Addr :: LOCALHOST , 0 ) , Json :: default)
59+ . await
60+ . unwrap ( )
61+ }
5562 }
5663 . compat ( ) ,
5764 ) ;
Original file line number Diff line number Diff line change 5050 "watch" : " tsc -b -w" ,
5151 "lint" : " eslint" ,
5252 "postinstall" : " cd client && npm install && cd .." ,
53- "test" : " sh ./scripts/e2e.sh"
5453 },
5554 "devDependencies" : {
5655 "@eslint/js" : " ^9.13.0" ,
You can’t perform that action at this time.
0 commit comments