Add conpty dynamic loading restrictions docs

This commit is contained in:
sterlingjensen authored and Christian Duerr committed 2019-12-15 06:21:54 +01:00
1 parent 08a1225748
commit 8a83340661
3 files changed
+9 -2

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ dirs = "2.0.2"
x11-dl = "2"
[target.'cfg(windows)'.dependencies]
winapi = { version = "0.3.7", features = ["impl-default", "winuser", "synchapi", "roerrorapi", "winerror", "wincon", "wincontypes"]}
winapi = { version = "0.3.7", features = ["impl-default", "wincon"]}
[target.'cfg(windows)'.build-dependencies]
embed-resource = "1.3"
+4 -1
View File
@@ -35,7 +35,10 @@ winpty = { path = "../winpty" }
mio-named-pipes = "0.1"
miow = "0.3"
dunce = "1.0"
winapi = { version = "0.3.7", features = ["impl-default", "winuser", "synchapi", "roerrorapi", "winerror", "wincon", "wincontypes"]}
winapi = { version = "0.3.7", features = [
"impl-default", "basetsd", "libloaderapi", "minwindef", "ntdef", "processthreadsapi", "winbase",
"wincon", "wincontypes", "winerror", "winnt", "winuser",
]}
widestring = "0.4"
mio-anonymous-pipes = "0.1"
@@ -40,6 +40,10 @@ use crate::term::SizeInfo;
use crate::tty::windows::child::ChildExitWatcher;
use crate::tty::windows::Pty;
// TODO: Replace with winapi's implementation. This cannot be
// done until a safety net is in place for versions of Windows
// that do not support the ConPTY api, as such versions will
// pass unit testing - but fail to actually function.
/// Dynamically-loaded Pseudoconsole API from kernel32.dll
///
/// The field names are deliberately PascalCase as this matches