You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is because attributes only work on items, and objects and methods are not items. Probably the best you can do in this situation is define a function inside the fsync method and conditionalize that. I believe that will work.
Activity
brson commentedon Nov 16, 2011
This is because attributes only work on items, and objects and methods are not items. Probably the best you can do in this situation is define a function inside the fsync method and conditionalize that. I believe that will work.
It probably would not be difficult to allow attributes and conditional compilation on methods as well. Attributes on general expressions is harder.
graydon commentedon Jan 31, 2012
obj
doesn't exist anymore, closing.Check if the patched sysroot source is up to date before using it
Update the rust toolchain to `nightly-2022-05-03` (rust-lang#1181)