What is a rail of wood or iron stretching along a yard of a vessel, to which the sails are fastened called?

jackstay — A rail of wood or iron stretching along a yard of a vessel, to which the sails are fastened. (Webster's 1913.)

Sources