File tree 3 files changed +12
-2
lines changed
3 files changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file.
4
4
5
5
The format is based on [ Keep a Changelog] ( http://keepachangelog.com/en/1.0.0/ )
6
6
7
+ ## [ Unreleased]
8
+
9
+ ### Fixed
10
+
11
+ - Fixed Slang & Verilator: cant run under WSL [ #418 ] ( https://github.com/mshr-h/vscode-verilog-hdl-support/issues/418 )
12
+
7
13
## [ 1.11.4] - 2023-04-19
8
14
9
15
### Fixed
Original file line number Diff line number Diff line change @@ -76,7 +76,9 @@ export default class SlangLinter extends BaseLinter {
76
76
let command : string = binPath + ' ' + args . join ( ' ' ) ;
77
77
78
78
let cwd : string = this . runAtFileLocation
79
- ? docFolder
79
+ ? isWindows
80
+ ? path . dirname ( docUri )
81
+ : docFolder
80
82
: vscode . workspace . workspaceFolders [ 0 ] . uri . fsPath ;
81
83
82
84
this . logger . info ( '[slang] Execute' ) ;
Original file line number Diff line number Diff line change @@ -99,7 +99,9 @@ export default class VerilatorLinter extends BaseLinter {
99
99
let command : string = binPath + ' ' + args . join ( ' ' ) ;
100
100
101
101
let cwd : string = this . runAtFileLocation
102
- ? docFolder
102
+ ? isWindows
103
+ ? path . dirname ( docUri )
104
+ : docFolder
103
105
: vscode . workspace . workspaceFolders [ 0 ] . uri . fsPath ;
104
106
105
107
this . logger . info ( '[verilator] Execute' ) ;
You can’t perform that action at this time.
0 commit comments