Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upCompilatin fails in Vim using neomake, but works from shell. #1142
Comments
This comment has been minimized.
|
I have no idea what neomake does internally, and I assume that this is very much dependent on that. Can you get it to show what cargo/rustc calls it does? Does it set the correct I'd probably also open that as a bug with them as it seems like diesel works fine with the build process we support (i.e., using cargo directly) :) |
This comment has been minimized.
|
Any news here? I'm quite tempted to close this as I don't see anything we can do in diesel about that |
This comment has been minimized.
dpc
commented
Sep 7, 2017
|
I'm sorry. I was/am busy. I was wondering if this might have something to do with lack of attached tty or something. I'm fine with closing. Maybe someone will Google it, or I'll get more time to investigate localy. |
killercup
closed this
Sep 7, 2017
This comment has been minimized.
dpc
commented
Sep 25, 2017
|
I have found a reason. Basically, I'm using
and my Since It is a bit of a footgun, and it would be great if could be avoided somehow. |
dpc commentedSep 3, 2017
Setup
Versions
Feature Flags
Problem Description
When I compile from command line, everything works, but when I start Vim, I get compilation errors:
through
neomake.It looks to me that
infer_schemamacro fails silently (if I understand right, it is expanding by something that actually connects to the db to check the schema). However, when I do:!cargo buildor:!cargo checkcompilation works, so it's not Vim itself.If I am able to figure out anything more useful, I'll update the issue.