Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
4,251
Issues
4,251
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
395
Merge Requests
395
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
7432b327
Commit
7432b327
authored
Mar 02, 2020
by
Sylvain Henry
Committed by
Marge Bot
Mar 14, 2020
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Use correct option name (-opti) (fix
#17314
)
s/pgmo/opti
parent
4f117135
Pipeline
#16698
passed with stages
in 447 minutes
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
10 deletions
+6
-10
docs/users_guide/conf.py
docs/users_guide/conf.py
+0
-4
docs/users_guide/ghci.rst
docs/users_guide/ghci.rst
+4
-4
utils/iserv-proxy/src/Main.hs
utils/iserv-proxy/src/Main.hs
+2
-2
No files found.
docs/users_guide/conf.py
View file @
7432b327
...
...
@@ -36,10 +36,6 @@ nitpick_ignore = [
(
"c:type"
,
"bool"
),
# See #17314
(
"ghc-flag"
,
"-pgmo ⟨port⟩"
),
(
"ghc-flag"
,
"-pgmo ⟨option⟩"
),
(
"extension"
,
"DoAndIfThenElse"
),
(
"extension"
,
"RelaxedPolyRec"
),
...
...
docs/users_guide/ghci.rst
View file @
7432b327
...
...
@@ -3416,10 +3416,10 @@ providing it with a temporary folder (where it will copy the
necessary libraries to load to) and port it will listen for
the proxy to connect.
Providing :ghc-flag:`-pgmi
/path/to/iserv-proxy <-pgmi ⟨cmd⟩>`,
:ghc-flag:`-
pgmo ⟨option⟩` and :ghc-flag:`-pgmo ⟨port⟩` in addition to
:ghc-flag:`-fexternal-interpreter` will then make ghc go through the proxy
instead.
Providing :ghc-flag:`-pgmi
⟨/path/to/iserv-proxy⟩ <-pgmi ⟨cmd⟩>` and
:ghc-flag:`-
opti ⟨slave-ip⟩ -opti ⟨slave-port⟩ [-opti -v] <-opti ⟨option⟩>` in
addition to :ghc-flag:`-fexternal-interpreter` will then make ghc go through the
proxy
instead.
There are some limitations when using this. File and process IO
will be executed on the target. As such packages like ``git-embed``,
...
...
utils/iserv-proxy/src/Main.hs
View file @
7432b327
...
...
@@ -77,9 +77,9 @@ dieWithUsage = do
die
$
prog
++
": "
++
msg
where
#
if
defined
(
WINDOWS
)
msg
=
"usage: iserv <write-handle> <read-handle> <slave ip> [-v]"
msg
=
"usage: iserv <write-handle> <read-handle> <slave ip>
<slave port>
[-v]"
#
else
msg
=
"usage: iserv <write-fd> <read-fd> <slave ip> [-v]"
msg
=
"usage: iserv <write-fd> <read-fd> <slave ip>
<slave port>
[-v]"
#
endif
main
::
IO
()
...
...
Marge Bot
💬
@marge-bot
mentioned in merge request
!2811 (closed)
·
Mar 14, 2020
mentioned in merge request
!2811 (closed)
mentioned in merge request !2811
Toggle commit list
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment